-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
61 lines (52 loc) · 1.95 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
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 = 'batch-machine',
version = version,
url = 'https://github.com/openaddresses/batch-machine',
author = 'Michal Migurski',
author_email = '[email protected]',
description = 'In-progress scripts for running OpenAddresses on a complete data set and publishing the results.',
packages = ['openaddr', 'openaddr.util', 'openaddr.tests'],
python_requires='>=3.10',
entry_points = dict(
console_scripts = [
'openaddr-preview-source = openaddr.preview:main',
'openaddr-process-one = openaddr.process_one:main',
]
),
package_data = {
'openaddr': [
'VERSION'
],
'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'
]
},
test_suite = 'openaddr.tests',
install_requires = [
'gdal == 3.7.1',
'dateutils == 0.6.12', 'ijson == 2.4',
# https://github.com/uri-templates/uritemplate-py/
'uritemplate == 4.1.1',
# http://docs.python-requests.org/en/master/
'requests == 2.32.0',
# https://github.com/patrys/httmock
'httmock == 1.4.0',
# https://github.com/openaddresses/pyesridump
'esridump == 1.13.0',
# Used in openaddr.parcels
'Shapely == 2.0.1',
# https://github.com/tilezen/mapbox-vector-tile
'mapbox-vector-tile == 2.0.1',
'future==0.18.3',
'protobuf==4.24',
]
)