From 4cbacddda9d7f98bb159c0a36602e9944738d5a9 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Thu, 13 Aug 2020 10:25:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20=E4=BF=AE=E5=A4=8D=20pypi=20ci?= =?UTF-8?q?=20=E6=96=87=E4=BB=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ec47baf..f69ecdb 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,18 @@ """ 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="2020.8.post1", + version=formatted_today[0:2] + "." + formatted_today[2:4] + "." + formatted_today[4:6] + ".post1", author="xtaodada", author_email="xtao@xtaolink.cn", description="A telegram utility daemon and plugin framework.",