1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
from setuptools import setup, find_packages
with open("VERSION", "r") as f:
version = f.read().strip()
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="isoduration",
version=version,
author="Víctor Muñoz",
author_email="victorm@marshland.es",
description="Operations with ISO 8601 durations",
url="https://github.com/bolsote/isoduration",
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=["arrow>=0.15.0"],
python_requires=">=3.7",
zip_safe=False,
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Repository": "https://github.com/bolsote/isoduration",
"Bug Reports": "https://github.com/bolsote/isoduration/issues",
"Changelog": "https://github.com/bolsote/isoduration/blob/master/CHANGELOG",
},
keywords=[
"datetime",
"date",
"time",
"duration",
"duration-parsing",
"duration-string",
"iso8601",
"iso8601-duration",
],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: ISC License (ISCL)",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|