-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
62 lines (53 loc) · 1.82 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
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.gtfsdb_realtime',
'transaction',
'simplejson',
'usaddress', # crfsuite pre-built binaries -- https://github.com/estnltk/estnltk/tree/master/dist/python-crfsuite
# note: download 'raw' file from github, then use PowerShell to install
]
postgresql_extras = ['psycopg2>=2.4.2']
dev_extras = []
extras_require = dict(
dev=dev_extras,
postgresql=postgresql_extras,
)
setup(
name='ott.data',
version='0.1.0',
description='Open Transit Tools - OTT Database',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
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/gtfsdb.git#egg=gtfsdb-1.0.0',
'git+https://github.com/OpenTransitTools/gtfsdb_realtime.git#egg=ott.gtfsdb_realtime-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.data.tests",
entry_points="""\
[console_scripts]
data_test_routes = ott.data.dao.route_dao:main
""",
)