pmpt/setup.py

32 lines
1.2 KiB
Python
Raw Permalink Normal View History

2024-03-29 22:15:57 +08:00
from setuptools import setup, find_packages
from pmpt import util
setup(
2024-04-03 21:12:35 +08:00
name="pmpt", # 包的名称
2024-03-29 22:15:57 +08:00
version=util.__version__, # 版本号
2024-04-08 21:59:15 +08:00
packages=find_packages(exclude=["tests", "tests.*"]), # 包含的包
2024-04-03 21:12:35 +08:00
author="MoYan", # 作者
author_email="moyan@moyanjdc.top", # 作者邮箱
description="A Python Package Advanced Manager", # 包的简要描述
2024-04-02 21:20:12 +08:00
long_description=open("readme.md").read(), # 包的详细描述
2024-04-03 21:12:35 +08:00
long_description_content_type="text/markdown", # 描述的内容类型
2024-03-29 22:15:57 +08:00
classifiers=[ # 包的分类信息
2024-04-03 21:12:35 +08:00
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
2024-03-29 22:15:57 +08:00
],
2024-04-03 21:12:35 +08:00
setup_requires=["platformdirs"],
install_requires=open("requirements/base.txt").read().split("\n"),
2024-03-29 22:15:57 +08:00
entry_points={
2024-04-03 21:12:35 +08:00
"console_scripts": ["pmpt=pmpt:cli"],
2024-04-03 12:14:22 +08:00
},
extras_require={
2024-04-03 21:12:35 +08:00
"web": open("requirements/web.txt").read().split("\n"),
},
2024-04-08 21:59:15 +08:00
include_package_data=True,
2024-03-29 22:15:57 +08:00
)