-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (40 loc) · 1.41 KB
/
setup.py
File metadata and controls
47 lines (40 loc) · 1.41 KB
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
#!/usr/bin/env python3
"""
Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch>
Licensed under MIT. All rights reserved.
"""
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.rst'), encoding='utf-8') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
setup(
name='python_opendata_transport',
version='0.1.4',
description='Python API for interacting with transport.opendata.ch.',
long_description=long_description,
url='https://github.com/fabaff/python-opendata-transport',
download_url='https://github.com/fabaff/python-opendata-transport/releases',
author='Fabian Affolter',
author_email='fabian@affolter-engineering.ch',
license='MIT',
install_requires=['aiohttp', 'async_timeout'],
packages=find_packages(),
zip_safe=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)