-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
82 lines (70 loc) · 2.32 KB
/
setup.py
File metadata and controls
82 lines (70 loc) · 2.32 KB
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
78
79
80
81
82
import os
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 = [
'ott.utils',
'argparse',
'simplejson',
'geojson',
'venusian==1.2.0',
'cachetools<=3.1.1',
'requests==2.21.0',
'gtfsdb',
'gtfs-realtime-bindings',
'geoalchemy2',
'sqlalchemy',
'zope.sqlalchemy',
'pyramid',
'pyramid_tm',
'pyramid_exclog',
'waitress',
]
dev_extras = []
extras_require = dict(
dev=dev_extras
)
oracle_extras = ['cx_oracle>=5.1']
postgresql_extras = ['psycopg2>=2.4.2']
# NOTE: add pyschopg to requires, else pserve is incomplete
requires.append(postgresql_extras)
setup(
name='ott.gtfsdb_realtime',
version='0.1.0',
description='GTFS Real-time Database',
long_description=README + '\n\n' + CHANGES,
keywords='GTFS,GTFS-realtime,GTFSRT',
url='http://opentransittools.com',
license="Mozilla-derived (http://opentransittools.com)",
author="Open Transit Tools",
author_email="info@opentransittools.org",
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla-derived (MPL)',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
),
dependency_links=[
'git+https://github.com/OpenTransitTools/utils.git#egg=ott.utils-0.1.0',
'git+https://github.com/OpenTransitTools/gtfsdb.git#egg=gtfsdb-0.1.7',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=extras_require,
entry_points="""\
[paste.app_factory]
main = ott.gtfsdb_realtime.pyramid.app:main
[console_scripts]
gtfsrt-load = ott.gtfsdb_realtime.loader:main
gtfsrt-alerts-query = ott.gtfsdb_realtime.control.alert_queries:alerts_command_line
gtfsrt-vehicles-query = ott.gtfsdb_realtime.control.vehicle_queries:vehicles_command_line
gtfsrt-vehicles-load = ott.gtfsdb_realtime.loader:load_vehicles
gtfsrt-nextbus-vehicles = ott.gtfsdb_realtime.control.nextbus.controller:main
""",
)