PagerMaid-Modify/setup.py
Xtao_dada 4239cfb5e4
🐛 Speedtest fix timeout (#165)
* 🐛 修复 speedtest 请求超时
2022-01-19 11:35:52 +08:00

37 lines
1.1 KiB
Python

""" Packaging of PagerMaid. """
from setuptools import setup, find_packages
import datetime
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fp:
install_requires = fp.read()
formatted_today = datetime.date.today().strftime('%y%m%d')
setup(
name="pagermaid_modify",
version=formatted_today[0:2] + "." + formatted_today[2:4] + "." + formatted_today[4:6] + ".post1",
author="Xtao-Labs",
author_email="xtao@xtaolabs.com",
description="A telegram utility daemon and plugin framework.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Xtao-Labs/PagerMaid-Modify",
packages=find_packages(),
entry_points={
'console_scripts': [
'pagermaid=pagermaid:__main__'
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: Unix"
],
python_requires=">=3.6",
install_requires=install_requires,
include_package_data=True
)