37 lines
1.1 KiB
Python
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
|
|
)
|
|
print(1) |