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
114 lines (95 loc) · 3.93 KB
/
setup.py
File metadata and controls
114 lines (95 loc) · 3.93 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
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.43.0', 'dateutils == 0.6.6', 'ijson == 2.3',
# Honcho (imported for worker) requires Jinja2 < 2.8.
'Jinja2 == 2.7.3',
# http://flask.pocoo.org
'Flask == 0.11.1',
# http://flask-cors.corydolphin.com
'Flask-Cors == 3.0.2',
# https://www.palletsproject.com/projects/werkzeug/
'Werkzeug == 0.11.11',
# http://gunicorn.org
'gunicorn == 19.6.0',
# http://www.voidspace.org.uk/python/mock/
'mock == 2.0.0',
# https://github.com/uri-templates/uritemplate-py/
'uritemplate == 0.6',
# https://github.com/malthe/pq/
'pq == 1.4',
# http://initd.org/psycopg/
'psycopg2 == 2.6.2',
# http://docs.python-requests.org/en/master/
'requests == 2.11.1',
# https://github.com/patrys/httmock
'httmock == 1.2.5',
# https://boto3.readthedocs.org
'boto3 == 1.4.4',
# https://github.com/openaddresses/pyesridump
'esridump == 1.6.0',
# Used in openaddr.parcels
'Shapely == 1.5.17',
'Fiona == 1.7.0.post2',
# http://pythonhosted.org/itsdangerous/
'itsdangerous == 0.24',
# https://pypi.python.org/pypi/python-memcached
'python3-memcached == 1.51',
]
)