-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (26 loc) · 1.08 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
"""Script for building the cdtz package. """
from setuptools import setup
try:
import pypandoc
LONG_DESCRIPTION = pypandoc.convert('README.md', 'rst')
except (ImportError, OSError):
# OSError is raised when pandoc is not installed.
LONG_DESCRIPTION = ('CusDeb Tz is a microservice intended to provide the clients with a '
'comprehensive list of time zones.')
with open('requirements.txt') as outfile:
REQUIREMENTS_LIST = outfile.read().splitlines()
setup(name='cdtz',
version='0.1',
description='cdtz package',
long_description=LONG_DESCRIPTION,
url='https://github.com/tolstoyevsky/cusdeb-tz',
author='Vladislav Yarovoy',
author_email='[email protected]',
maintainer='Vladislav Yarovoy',
maintainer_email='Vladislav Yarovoy [email protected]',
license='http://www.apache.org/licenses/LICENSE-2.0',
scripts=['bin/server.py'],
packages=['cdtz'],
include_package_data=True,
data_files=[('', ['requirements.txt', 'LICENSE'])],
install_requires=REQUIREMENTS_LIST)