From a1d28b692b98448ff31ae42b43e479a40d17be03 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 9 Jun 2018 11:05:50 +0200 Subject: [PATCH] Update setup.py --- setup.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 1db57db..2019f87 100644 --- a/setup.py +++ b/setup.py @@ -7,10 +7,13 @@ 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') @@ -18,7 +21,7 @@ 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', @@ -26,7 +29,7 @@ author_email='fabian@affolter-engineering.ch', license='MIT', install_requires=['aiohttp', 'async_timeout'], - packages=['opendata_transport'], + packages=find_packages(), zip_safe=True, classifiers=[ 'Development Status :: 3 - Alpha',