pmpt/setup.py
2024-04-08 21:59:15 +08:00

32 lines
1.2 KiB
Python

from setuptools import setup, find_packages
from pmpt import util
setup(
name="pmpt", # 包的名称
version=util.__version__, # 版本号
packages=find_packages(exclude=["tests", "tests.*"]), # 包含的包
author="MoYan", # 作者
author_email="moyan@moyanjdc.top", # 作者邮箱
description="A Python Package Advanced Manager", # 包的简要描述
long_description=open("readme.md").read(), # 包的详细描述
long_description_content_type="text/markdown", # 描述的内容类型
classifiers=[ # 包的分类信息
"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",
],
setup_requires=["platformdirs"],
install_requires=open("requirements/base.txt").read().split("\n"),
entry_points={
"console_scripts": ["pmpt=pmpt:cli"],
},
extras_require={
"web": open("requirements/web.txt").read().split("\n"),
},
include_package_data=True,
)