forked from gboeing/osmnx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (47 loc) · 2.28 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
# OSMnx
# See full license in LICENSE.txt
from setuptools import setup
# provide a long description using reStructuredText
long_description = """
**OSMnx** is a package to easily download, construct, project, visualize, and analyze complex street
networks from OpenStreetMap in Python with NetworkX.
You can get a city's or neighborhood's walking, driving, or biking network with a single line of Python
code. Then you can easily visualize cul-de-sacs or one-way streets, plot shortest-path routes, or
calculate stats like intersection density, average node connectivity, betweenness centrality, etc.
See the examples and demos on `GitHub`_ or read more about `OSMnx`_.
.. _GitHub: https://github.com/gboeing/osmnx
.. _OSMnx: http://geoffboeing.com/2016/11/osmnx-python-street-networks/
"""
# list of classifiers from the PyPI classifiers trove
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6']
with open('requirements.txt') as f:
tests_require = f.readlines()
install_requires = [t.strip() for t in tests_require]
# now call setup
setup(name='osmnx',
version='0.5.2dev',
description='Retrieve, construct, analyze, and visualize street networks from OpenStreetMap',
long_description=long_description,
classifiers=classifiers,
url='https://github.com/gboeing/osmnx',
author='Geoff Boeing',
author_email='[email protected]',
license='MIT',
platforms='any',
packages=['osmnx'],
install_requires=install_requires,
extras_require={'folium':['folium>=0.2']})