forked from arrow-py/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (44 loc) · 1.56 KB
/
setup.py
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
# mypy: ignore-errors
from setuptools import setup
with open("README.rst", encoding="utf-8") as f:
readme = f.read()
about = {}
with open("arrow/_version.py", encoding="utf-8") as f:
exec(f.read(), about)
setup(
name="arrow",
version=about["__version__"],
description="Better dates & times for Python",
long_description=readme,
long_description_content_type="text/x-rst",
url="https://arrow.readthedocs.io",
author="Chris Smith",
author_email="[email protected]",
license="Apache 2.0",
packages=["arrow"],
package_data={"arrow": ["py.typed"]},
zip_safe=False,
python_requires=">=3.6",
install_requires=[
"python-dateutil>=2.7.0",
"typing_extensions; python_version<'3.8'",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="arrow date time datetime timestamp timezone humanize",
project_urls={
"Repository": "https://github.com/arrow-py/arrow",
"Bug Reports": "https://github.com/arrow-py/arrow/issues",
"Documentation": "https://arrow.readthedocs.io",
},
)