-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
23 lines (21 loc) · 1.06 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
import setuptools # 导入setuptools打包工具
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="UIC", # 用自己的名替换其中的YOUR_USERNAME_
version="1.0.0", # 包版本号,便于维护版本
author="我是啄啄呀", # 作者,可以写自己的姓名
author_email="", # 作者联系方式,可写自己的邮箱地址
description="A small example package", # 包的简述
long_description=long_description, # 包的详细介绍,一般在README.md文件内
long_description_content_type="text/markdown",
url="https://github.com/pypa/sampleproject", # 自己项目地址,比如github的项目地址
packages=["UIC", "UIC.module", "UIC.module.craft", "UIC.utils"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD-3 License",
"Operating System :: OS Independent",
],
install_requires=['keyboard>=0.13.5'],
python_requires='>=3.6', # 对python的最低版本要求
)