代码拉取完成,页面将自动刷新
import os
# from distutils.core import setup
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
def get_requirements():
with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f:
requirements_list = [req.strip() for req in f.readlines()]
return requirements_list
setup(
name="idcops",
version="2.0.1",
packages=find_packages(),
include_package_data=True,
license="Apache License 2.0",
description="A data center inventory management software",
long_description=README,
url="https://www.idcops.cn/",
author="Vivian Cheung",
install_requires=get_requirements(),
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.1.x",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache License 2.0",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
python_requires=">=3.5",
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。