Use date version for Pypi
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-04-10 12:42:39 +02:00
parent 868ed7af44
commit ded5d28a62

View File

@ -1,14 +1,16 @@
from datetime import datetime
from setuptools import setup, find_packages from setuptools import setup, find_packages
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') as f: with open("requirements.txt") as f:
requirements = f.read().splitlines() requirements = f.read().splitlines()
setup( setup(
name="PyNyaaTa", name="PyNyaaTa",
version="0.0.1", version=datetime.now().strftime("%Y%m%d%H%M"),
author="Xéfir Destiny", author="Xéfir Destiny",
author_email="xefir@crystalyx.net", author_email="xefir@crystalyx.net",
description="𝛑 😼 た, Xéfir's personal animes torrent search engine", description="𝛑 😼 た, Xéfir's personal animes torrent search engine",
@ -22,5 +24,5 @@ setup(
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
python_requires='>=3.5', python_requires=">=3.5",
) )