-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
22 lines (20 loc) · 1.02 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
import setuptools #导入setuptools打包工具
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="pyconsole_codes", # 用自己的名替换其中的YOUR_USERNAME_
version="0.0.2", #包版本号,便于维护版本
author="我不是art", #作者,可以写自己的姓名
author_email="[email protected]", #作者联系方式,可写自己的邮箱地址
description="终端彩色字解析",#包的简述
long_description=long_description, #包的详细介绍,一般在README.md文件内
long_description_content_type="text/markdown",
url="https://github.com/Inotart/pyconsole_codes", #自己项目地址,比如github的项目地址
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.10', #对python的最低版本要求
)