-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (56 loc) · 1.8 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
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 = [
'sqlalchemy',
'geoalchemy2',
'zope.sqlalchemy',
'psycopg2-binary',
'boltons',
'parse',
'python-dateutil',
'user-agents',
'haversine',
'ott.utils'
]
extras_require = dict(
dev=[],
)
setup(
name='ott.log_parser',
version='0.1.0',
description='Open Transit Tools - parse server log files / OTP trip plan urls',
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, 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.log_parser.tests",
entry_points="""
[console_scripts]
test_load = ott.log_parser.db.raw_log:main
test_process = ott.log_parser.db.processed_requests:main
loader = ott.log_parser.control.loader:main
load_and_post_process = ott.log_parser.control.loader:load_and_post_process
publisher = ott.log_parser.control.publisher:main
parser = ott.log_parser.control.parser:main
report = ott.log_parser.control.reporter:main
stats = ott.log_parser.control.stats:main
""",
)