Skip to content

Commit

Permalink
Add setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Aug 23, 2017
1 parent 4bf59cb commit 5407f88
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env python3

import os
import sys

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()

setup(
name='python_opendata_transport',
version='0.0.1',
description='Python API for interacting with transport.opendata.ch.',
url='https://github.com/fabaff/python-opendata-transport',
download_url='https://github.com/fabaff/python-opendata-transport/releases',
author='Fabian Affolter',
author_email='[email protected]',
license='MIT',
install_requires=['requests>=2.0', 'pytz'],
packages=['opendata_transport'],
zip_safe=True,
)

0 comments on commit 5407f88

Please sign in to comment.