👷 修复 pypi ci 文件错误
This commit is contained in:
parent
a793bc3d5b
commit
4cbacddda9
5
setup.py
5
setup.py
@ -1,15 +1,18 @@
|
|||||||
""" Packaging of PagerMaid. """
|
""" Packaging of PagerMaid. """
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
import datetime
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
with open("requirements.txt", "r") as fp:
|
with open("requirements.txt", "r") as fp:
|
||||||
install_requires = fp.read()
|
install_requires = fp.read()
|
||||||
|
|
||||||
|
formatted_today = datetime.date.today().strftime('%y%m%d')
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pagermaid_modify",
|
name="pagermaid_modify",
|
||||||
version="2020.8.post1",
|
version=formatted_today[0:2] + "." + formatted_today[2:4] + "." + formatted_today[4:6] + ".post1",
|
||||||
author="xtaodada",
|
author="xtaodada",
|
||||||
author_email="xtao@xtaolink.cn",
|
author_email="xtao@xtaolink.cn",
|
||||||
description="A telegram utility daemon and plugin framework.",
|
description="A telegram utility daemon and plugin framework.",
|
||||||
|
Loading…
Reference in New Issue
Block a user