-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (28 loc) · 1.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from setuptools import setup, find_packages
setup(
name='pure_agent', # 包的名称
version='0.1.2', # 版本号
description='A brief description of the package.', # 简短描述
long_description=open('README.md').read(), # 详细描述
long_description_content_type='text/markdown', # 详细描述的格式
url='https://github.com/yourusername/pbot', # 项目主页
author='Your Name', # 作者名字
author_email='[email protected]', # 作者邮箱
license='MIT', # 许可证
classifiers=[ # 分类器
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
packages=find_packages(where='src'), # 找到所有包
package_dir={'': 'src'}, # 指定包的根目录
install_requires=[ # 依赖包
# 'dependency1',
# 'dependency2',
],
python_requires='>=3.6', # 支持的Python版本
)