|
| 1 | +"""Library for fetching departure and route data from the Munich public transport organisation MVG |
| 2 | +
|
| 3 | +Github: |
| 4 | +https://github.com/leftshift/python_mvg_departures |
| 5 | +Docs: |
| 6 | +http://python-mvg-departures.readthedocs.io/en/latest/ |
| 7 | +""" |
| 8 | + |
| 9 | +# Always prefer setuptools over distutils |
| 10 | +from setuptools import setup, find_packages |
| 11 | +# To use a consistent encoding |
| 12 | +from codecs import open |
| 13 | +from os import path |
| 14 | + |
| 15 | +here = path.abspath(path.dirname(__file__)) |
| 16 | + |
| 17 | +# Get the long description from the README file |
| 18 | +with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
| 19 | + long_description = f.read() |
| 20 | + |
| 21 | +setup( |
| 22 | + name='mvg-departures', |
| 23 | + version='1.0.0', |
| 24 | + description='Library for fetching departure and route data from the Munich public transport organisation MVG', |
| 25 | + long_description=long_description, |
| 26 | + url='https://github.com/leftshift/python_mvg_departures', |
| 27 | + |
| 28 | + author='leftshift', |
| 29 | + author_email='leftshiftlp@gmail.com', |
| 30 | + license='MIT', |
| 31 | + classifiers=[ |
| 32 | + 'Development Status :: 4 - Beta', |
| 33 | + 'License :: OSI Approved :: MIT License', |
| 34 | + 'Intended Audience :: Developers' |
| 35 | + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content' |
| 36 | + |
| 37 | + 'Programming Language :: Python :: 2.7', |
| 38 | + 'Programming Language :: Python :: 3', |
| 39 | + 'Programming Language :: Python :: 3.3', |
| 40 | + 'Programming Language :: Python :: 3.4', |
| 41 | + 'Programming Language :: Python :: 3.5', |
| 42 | + ], |
| 43 | + |
| 44 | + packages=['mvg'], |
| 45 | + install_requires=['requests'], |
| 46 | +) |
0 commit comments