-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.66 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
49
50
51
52
53
54
55
56
57
58
59
"""pytzsub setup script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
from os import path
__version__ = None
NAME = "pytzsub"
ME = "Barabash Maxim"
ME_MAIL = "maxim.s.barabash@gmail.com"
PACKAGES = ["pytzsub"]
PWD = path.abspath(path.dirname(__file__))
with open(path.join(PWD, "README.md"), encoding="utf-8") as fileptr:
long_description = fileptr.read()
with open(path.join(PWD, NAME, "_version.py")) as fileptr:
exec(fileptr.read())
setup(
name="pytzsub",
version=__version__,
zip_safe=True,
description=(
"World timezone definitions by country Subdivision "
"(e.g., provinces or states)"
),
long_description=long_description,
long_description_content_type="text/markdown",
author=ME,
author_email=ME_MAIL,
maintainer=ME,
maintainer_email=ME_MAIL,
url="https://github.com/maxim-s-barabash/pytzsub",
project_urls={
"Source": "https://github.com/maxim-s-barabash/pytzsub",
"Tracker": "https://github.com/maxim-s-barabash/pytzsub/issues",
},
license="MIT License",
keywords=["timezone", "tzinfo", "datetime", "pytz", "time"],
packages=PACKAGES,
package_data={"pytzsub": ["zone-sub.tab"]},
platforms=["Independent"],
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)