/
setup.py
57 lines (50 loc) · 1.78 KB
/
setup.py
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
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
import sys
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 6):
error = 'Requires Python Version 2.7 or above... exiting.'
print(sys.stderr, error)
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
def readme():
with open(os.path.join(here, 'README.rst')) as f:
return f.read()
setup(
name='openrouteservice',
version='2.3.3',
description='Python client for requests to openrouteservice API services',
long_description=readme(),
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
keywords='routing accessibility router OSM ORS openrouteservice openstreetmap isochrone POI elevation DEM',
url='https://github.com/GIScience/openrouteservice-py',
author='Nils Nolde',
author_email='nils.nolde@gmail.com',
license='Apache-2.0',
packages=['openrouteservice'],
install_requires=[
'requests>=2.0'],
include_package_data=True,
test_suite='nose.collector',
tests_require=['nose>1.0',
'requests>=2.0',
'responses>=0.10',
'coveralls>=1.7.0',
'coverage>=4.5.0'],
zip_safe=False
)