forked from LeuX/osm4routing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (26 loc) · 1.09 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
# Update this if needed
# It has to point to the directory containing the boost headers
boost_path = "libboost_mpi_python-py32.so.1.48.0"
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages, Extension
setup(name='Osm4routing',
version='1.0.4',
author= 'Tristram Graebener and Stephan Brandt',
author_email = '[email protected], [email protected]',
description = 'A simple tool to parse OpenStreetMap data to use them for routing',
license = 'GPLv3',
url = 'http://github.com/Tristramg/osm4routing/',
install_requires = ['sqlalchemy', 'setuptools-git', 'geoalchemy'],
py_modules = ['osm4routing', 'osm4routing_xml'],
ext_modules = [
Extension("_osm4routing_xml",
sources=["parse.cc", "parameters.cc", "parse.i"],
swig_opts=['-c++'],
include_dirs=[boost_path],
libraries=['expat'])
],
entry_points = {
'console_scripts': ['osm4routing = osm4routing:main'],
}
)