-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
77 lines (66 loc) · 2.35 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'venusian==1.2.0',
'ott.utils',
'gtfsdb',
'geoalchemy2',
'sqlalchemy',
'zope.sqlalchemy',
'psycopg2-binary',
'pyramid',
'pyramid_tm',
'pyramid_exclog',
'waitress==1.4.3',
]
extras_require = dict(
dev=[],
)
setup(
name='ott.trafficdb',
version='0.1.0',
description='Open Transit Tools - traffic database for speed and congestion data',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
],
author="Open Transit Tools",
author_email="info@opentransittools.org",
dependency_links=[
'git+https://github.com/OpenTransitTools/gtfsdb.git#egg=gtfsdb-1.0.0',
'git+https://github.com/OpenTransitTools/utils.git#egg=ott.utils-0.1.0',
],
license="Mozilla-derived (http://opentransittools.com)",
url='http://opentransittools.com',
keywords='ott, osm, otp, gtfs, vector, tiles, maps, transit',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=extras_require,
tests_require=requires,
test_suite="ott.trafficdb.tests",
entry_points="""
[paste.app_factory]
main = ott.trafficdb.pyramid.app:main
[console_scripts]
inrix_auth_token = ott.trafficdb.control.inrix.get_token:main
inrix_segment_data = ott.trafficdb.control.inrix.segment_data:main
inrix_speed_data = ott.trafficdb.control.inrix.speed_data:main
load_all = ott.trafficdb.control.loader:load_all
load_gtfsdb = ott.trafficdb.control.loader:load_gtfsdb
load_stop_segments = ott.trafficdb.control.loader:load_stop_segments
load_speed_data = ott.trafficdb.control.speeds_to_segments:main
match_segments = ott.trafficdb.control.conflate.match_segments:main
publisher = ott.trafficdb.view.publisher:main
printer = ott.trafficdb.view.printer:main
view_map = ott.trafficdb.view.geojson:main
bbox = ott.trafficdb.view.bbox:main
local_server = ott.trafficdb.view.server:local_server
""",
)