forked from openaddresses/machine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
125 lines (104 loc) · 4.19 KB
/
setup.py
File metadata and controls
125 lines (104 loc) · 4.19 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
from setuptools import setup
from os.path import join, dirname
with open(join(dirname(__file__), 'openaddr', 'VERSION')) as file:
version = file.read().strip()
setup(
name = 'OpenAddresses-Machine',
version = version,
url = 'https://github.com/openaddresses/machine',
author = 'Michal Migurski',
author_email = 'mike-pypi@teczno.com',
description = 'In-progress scripts for running OpenAddresses on a complete data set and publishing the results.',
packages = ['openaddr', 'openaddr.util', 'openaddr.ci', 'openaddr.ci.coverage', 'openaddr.tests', 'openaddr.parcels'],
entry_points = dict(
console_scripts = [
'openaddr-render-us = openaddr.render:main',
'openaddr-preview-source = openaddr.preview:main',
'openaddr-process-one = openaddr.process_one:main',
'openaddr-ci-recreate-db = openaddr.ci.recreate_db:main',
'openaddr-ci-run-dequeue = openaddr.ci.run_dequeue:main',
'openaddr-ci-worker = openaddr.ci.worker:main',
'openaddr-enqueue-sources = openaddr.ci.enqueue:main',
'openaddr-collect-extracts = openaddr.ci.collect:main',
'openaddr-index-tiles = openaddr.ci.tileindex:main',
'openaddr-update-dotmap = openaddr.dotmap:main',
'openaddr-sum-up-data = openaddr.ci.sum_up:main',
'openaddr-calculate-coverage = openaddr.ci.coverage.calculate:main',
]
),
package_data = {
'openaddr': [
'geodata/*.shp', 'geodata/*.shx', 'geodata/*.prj', 'geodata/*.dbf',
'geodata/*.cpg', 'VERSION',
],
'openaddr.ci': [
'schema.pgsql', 'templates/*.*', 'static/*.*'
],
'openaddr.ci.coverage': [
'schema.pgsql'
],
'openaddr.tests': [
'data/*.*', 'outputs/*.*', 'sources/*.*', 'sources/fr/*.*',
'sources/us/*/*.*', 'sources/de/*.*', 'sources/nl/*.*',
'sources/be/*/*.json', 'conforms/lake-man-gdb.gdb/*',
'conforms/*.csv', 'conforms/*.dbf', 'conforms/*.zip', 'conforms/*.gfs',
'conforms/*.gml', 'conforms/*.json', 'conforms/*.prj', 'conforms/*.shp',
'conforms/*.shx', 'conforms/*.vrt',
'parcels/sources/us/ca/*.*', 'parcels/sources/us/id/*.*',
'parcels/data/*.*', 'parcels/data/us/ca/*.*',
'parcels/data/us/ca/berkeley/*.*'
],
'openaddr.parcels': [
'README.md'
],
'openaddr.util': [
'templates/*.*'
]
},
test_suite = 'openaddr.tests',
install_requires = [
'boto == 2.49.0', 'dateutils == 0.6.6', 'ijson == 2.4',
# http://jinja.pocoo.org/docs/2.10/
'Jinja2 == 2.10.1',
# http://flask.pocoo.org
'Flask == 1.1.1',
# http://flask-cors.corydolphin.com
'Flask-Cors == 3.0.8',
# https://www.palletsprojects.com/p/werkzeug/
'Werkzeug == 0.16.0',
# http://gunicorn.org
'gunicorn == 19.10.0',
# http://www.voidspace.org.uk/python/mock/
'mock == 3.0.5',
# https://github.com/uri-templates/uritemplate-py/
'uritemplate == 3.0.0',
# https://github.com/malthe/pq/
'pq == 1.8.1',
# http://initd.org/psycopg/
'psycopg2-binary == 2.8.4',
# http://docs.python-requests.org/en/master/
'requests == 2.22.0',
# https://github.com/patrys/httmock
'httmock == 1.3.0',
# https://boto3.readthedocs.org
'boto3 == 1.11.5',
# https://github.com/openaddresses/pyesridump
'esridump == 1.6.0',
# Used in openaddr.parcels
'Shapely == 1.7b1',
'Fiona == 1.8.13',
# Used in dotmaps preview to support S3-backed SQLite mbtiles
# https://rogerbinns.github.io/apsw/
'apsw == 3.9.2.post1',
# http://pythonhosted.org/itsdangerous/
'itsdangerous == 1.1.0',
# https://pypi.python.org/pypi/python-memcached
'python-memcached == 1.59',
# https://github.com/tilezen/mapbox-vector-tile
'mapbox-vector-tile==1.2.0',
'future==0.16.0',
'protobuf==3.5.1',
'pyclipper==1.1.0',
'six==1.11.0',
]
)