-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
43 lines (37 loc) · 1.34 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
#!/usr/bin/env python3
"""Setup file for the HAFAS client."""
import os
import sys
from setuptools import setup,find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as readme:
long_description = readme.read()
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
setup(
name='pyhafas',
version='0.6.0',
description='Python client for HAFAS public transport APIs',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/FahrplanDatenGarten/pyhafas',
download_url='https://github.com/FahrplanDatenGarten/pyhafas/releases',
author='Ember Keske, Leona Maroni',
author_email='[email protected], [email protected]',
license='MIT',
install_requires=['requests~=2.9',
'pytz>=2013.6'],
packages=find_packages(include=['pyhafas', 'pyhafas.*']),
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Utilities',
],
)