-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
42 lines (38 loc) · 1.06 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
import os
import sys
from setuptools import setup
MIN_PYTHON = (3, 0)
if sys.version_info < MIN_PYTHON:
sys.stderr.write("Python {}.{} or later is required\n".format(*MIN_PYTHON))
sys.exit(1)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='osrm-py',
version='0.5',
author='Alexander Verbitsky',
author_email='[email protected]',
maintainer='Alexander Verbitsky',
maintainer_email='[email protected]',
description='Python client for OSRM API',
long_description=read('README.rst'),
keywords='osrm',
url='https://github.com/gojuno/osrm-py',
py_modules=['osrm'],
test_suite='test',
extras_require={
'aiohttp': (
'aiohttp>=1.2.0,<=2.1.0',
),
'requests': (
'requests>=2.14.0',
),
},
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Utilities',
'Programming Language :: Python',
'License :: OSI Approved :: BSD License',
],
)