-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (44 loc) · 1.39 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
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 = [
'simplejson',
'ott.utils',
]
if sys.version_info[:2] < (3, 0):
requires.extend(['solrpy']) # sadly, solrpy doesn't work with py 3.x (June 2018) -- TODO remove/replace dependency
extras_require = dict(
dev=[],
)
setup(
name='ott.geocoder',
version='0.1.0',
description='Open Transit Tools - OTT GeoCoder',
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'
],
license="Mozilla-derived (http://opentransittools.com)",
url='http://opentransittools.com',
keywords='ott, otp, gtfs, gtfsdb, data, database, services, transit, geocoder',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=extras_require,
tests_require=requires,
test_suite="ott.geocoder.tests",
entry_points="""\
[console_scripts]
geocode = ott.geocoder.cmdline:main
""",
)