Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jun 9, 2018
1 parent 854e773 commit a1d28b6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,29 @@
import os
import sys

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
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.1',
version='0.1.2',
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=['aiohttp', 'async_timeout'],
packages=['opendata_transport'],
packages=find_packages(),
zip_safe=True,
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit a1d28b6

Please sign in to comment.