-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (62 loc) · 2.06 KB
/
Copy pathsetup.py
File metadata and controls
70 lines (62 loc) · 2.06 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
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 = [
'ott.utils',
'pystache',
'MapProxy',
# added Nov 2019 ... 'venusian==3.0.0' is python 3.x, so won't work with Py 2.7
'pillow<7.0.0',
'pyproj<2.2.5',
'venusian==1.2.0',
'pyramid',
'pyramid_tm',
'pyramid_exclog',
'waitress',
]
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.map_server',
version='0.1.0',
description='Open Transit Tools - OTT Map Server',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
],
author="Open Transit Tools",
author_email="info@opentransittools.org",
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, geo, geoserver',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=extras_require,
tests_require=requires,
test_suite="ott.map_server.tests",
# find ott | grep py$ | xargs grep "def.main"
entry_points="""
[paste.app_factory]
main = ott.map_server.pyramid.app:main
[console_scripts]
generate_geoserver_config = ott.map_server.geoserver_config.base:generate_geoserver_config
run_jetty_config = ott.map_server.geoserver_config.jetty_config:run_jetty_config
mapproxy = mapproxy.script.util:main
""",
# bin/mapproxy serve-develop mapproxy/mapproxy.yaml --address 127.0.0.1:2112 # default port is 8080
)