-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
87 lines (76 loc) · 2.9 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
78
79
80
81
82
83
84
85
86
87
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 = [
'gtfsdb',
'ott.utils',
'ott.gbfsdb',
'simplejson',
'mako',
'pyparsing',
'psycopg2',
'paramiko == 1.14.2',
'scp'
]
extras_require = dict(
dev=[],
)
#
# eggs that you need if you're running a version of python lower than 2.7
#
if sys.version_info[:2] < (2, 7):
requires.extend(['argparse>=1.2.1', 'unittest2>=0.5.1'])
setup(
name='ott.loader',
version='0.1.0',
description='Open Transit Tools - OTT Loader',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
],
author="Open Transit Tools",
author_email="[email protected]",
dependency_links=[
'git+https://github.com/OpenTransitTools/utils.git#egg=ott.utils-0.1.0',
'git+https://github.com/OpenTransitTools/gbfsdb.git#egg=ott.gbfsdb-1.0.0',
'git+https://github.com/OpenTransitTools/gtfsdb.git#egg=gtfsdb-1.0.0',
],
license="Mozilla-derived (http://opentransittools.com)",
url='http://opentransittools.com',
keywords='ott, otp, gtfs, gtfsdb, data, database, services, transit',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=extras_require,
tests_require=requires,
test_suite="ott.loader.tests",
# find ott | grep py$ | xargs grep "def.main"
entry_points="""
[console_scripts]
load_data = ott.loader.loader:load_data
load_all = ott.loader.loader:load_all
deploy_all = ott.loader.loader:deploy_all
load_and_deploy = ott.loader.loader:load_and_deploy
osm_update = ott.loader.osm.osm_cache:OsmCache.load
gtfs_update = ott.loader.gtfs.gtfs_cache:main
gtfs_info = ott.loader.gtfs.info:main
gtfs_fix = ott.loader.gtfs.fix:main
gtfs_fix_tm = ott.loader.gtfs.fix:rename_trimet_agency
gtfsdb_load = ott.loader.gtfsdb.gtfsdb_loader:GtfsdbLoader.load
otp_run = ott.loader.otp.graph.otp_runner:OtpRunner.run
otp_build = ott.loader.otp.graph.otp_builder:OtpBuilder.build
otp_deploy = ott.loader.otp.graph.otp_deployer:OtpDeployer.deploy
otp_package_new = ott.loader.otp.graph.otp_deployer:OtpDeployer.package_new
otp_static_server = ott.loader.otp.graph.otp_runner:OtpRunner.static_server
otp_preflight = ott.loader.otp.preflight.test_runner:main
otp_stress_test = ott.loader.otp.preflight.stress.stress_tests:main
otp_test_urls = ott.loader.otp.preflight.tests_to_urls:main
sum_update = ott.loader.sum.sum_cache:SumCache.load
solr_load = ott.loader.solr.solr_loader:SolrLoader.load
""",
)