1 Star 1 Fork 0

墨泠/easyros

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
墨泠 提交于 2023-11-05 16:21 . 0.0.6 feat:自动创建工作空间
from setuptools import setup, find_packages
import os
info = {}
PATH = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(PATH, "easyros/__version__.py"), 'r', encoding='utf8') as f:
exec(f.read(), info)
with open(os.path.join(PATH, "README.md"), 'r', encoding='utf8') as f:
long_description = f.read()
with open('requirements.txt', 'r') as file:
lines = file.readlines()
requires = [line.strip() for line in lines]
setup(
name = info['__name__'],
version = info['__version__'],
author = info['__author__'],
author_email = info['__author_email__'],
description = info['__description__'],
license = info["__license__"],
url = info['__url__'],
python_requires = ">=3.7",
packages=find_packages(),
include_package_data = True,
package_data={
'easyros': ['*/*.sh'],
},
long_description = long_description,
long_description_content_type="text/markdown",
zip_safe=False,
classifiers = [
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
install_requires=requires,
tests_require=[
'pytest>=3.3.1',
'pytest-cov>=2.5.1',
],
entry_points={
'console_scripts': [
'easyros = easyros:run',
],
}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/yourmoln/easyros.git
git@gitee.com:yourmoln/easyros.git
yourmoln
easyros
easyros
main

搜索帮助