-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (44 loc) · 1.25 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
48
import io
import re
from collections import OrderedDict
from setuptools import setup
with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
with io.open("datetoken/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
setup(
name="datetoken",
version=version,
url="https://pypi.org/project/datetoken/",
project_urls=OrderedDict(
(
("Code", "https://github.com/sonirico/datetoken/"),
("Issue tracker", "https://github.com/sonirico/datetoken/issues"),
)
),
license="MIT",
author="Marcos Sanchez",
author_email="marsanben92@gmail.com",
maintainer="Marcos Sanchez",
maintainer_email="marsanben92@gmail.com",
description="Convert relative string tokens into datetime objects",
long_description=readme,
packages=["datetoken"],
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=3.6',
install_requires=[
'pytz>=2018.04,<2022.7',
'python-dateutil>=2.7.3,<2.8.3'
],
extras_require={
"dev": [
"pytest>=3",
"freezegun==1.2.2",
"coverage",
"tox",
],
"docs": [],
},
)