2020-02-19 15:31:39 +00:00
|
|
|
""" Packaging of PagerMaid. """
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
2020-08-13 02:25:42 +00:00
|
|
|
import datetime
|
2020-02-19 15:31:39 +00:00
|
|
|
|
|
|
|
with open("README.md", "r") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
with open("requirements.txt", "r") as fp:
|
|
|
|
install_requires = fp.read()
|
|
|
|
|
2020-08-13 02:25:42 +00:00
|
|
|
formatted_today = datetime.date.today().strftime('%y%m%d')
|
|
|
|
|
2020-02-19 15:31:39 +00:00
|
|
|
setup(
|
2020-08-11 12:46:02 +00:00
|
|
|
name="pagermaid_modify",
|
2020-08-13 02:25:42 +00:00
|
|
|
version=formatted_today[0:2] + "." + formatted_today[2:4] + "." + formatted_today[4:6] + ".post1",
|
2020-08-11 12:46:02 +00:00
|
|
|
author="xtaodada",
|
|
|
|
author_email="xtao@xtaolink.cn",
|
2020-02-19 15:31:39 +00:00
|
|
|
description="A telegram utility daemon and plugin framework.",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2020-08-11 12:46:02 +00:00
|
|
|
url="https://github.com/xtaodada/PagerMaid-Modify",
|
2020-02-19 15:31:39 +00:00
|
|
|
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
|
|
|
|
)
|