From ded5d28a621c8947989226dd18e309f07d49134c Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 10 Apr 2020 12:42:39 +0200 Subject: [PATCH] Use date version for Pypi --- setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index df0c47d..f4d9885 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,16 @@ +from datetime import datetime + from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() -with open('requirements.txt') as f: +with open("requirements.txt") as f: requirements = f.read().splitlines() setup( name="PyNyaaTa", - version="0.0.1", + version=datetime.now().strftime("%Y%m%d%H%M"), author="Xéfir Destiny", author_email="xefir@crystalyx.net", description="𝛑 😼 た, Xéfir's personal animes torrent search engine", @@ -22,5 +24,5 @@ setup( "Programming Language :: Python :: 3", "Operating System :: OS Independent", ], - python_requires='>=3.5', + python_requires=">=3.5", )