-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (44 loc) · 2.47 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
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='grale', # name of the package
version='0.0.4', # release version
author='GeoCodable', # org/author
description=\
'''
GRALE - Geospatial Request and Log Extraction
The GRALE module contains functions and classes to standardize requests
sent to geospatial REST API's. Response data, metadata capture, and
logging information are also standardized to create efficiencies as a
preliminary step in ETL workflows that involve geospatial REST API's.
Advanced options are available to optimize speed and memory
usage in the extraction phase of ETL workflows. Options include
multi-threaded request/response cycles, 'low memory' options in
an effort to reduce memory usage/errors and storage capacity required
for outputs, and .p12/PFX credentialing support.
*Note: 0.0.1 Capabilities are limited to get requests on ArcGIS REST API's
feature and map services at this time.
''',
long_description=long_description, # long description read from the the readme file
long_description_content_type='text/markdown',
packages=setuptools.find_packages(), # list of all python modules to be installed
classifiers=[ # information to filter the project on PyPi website
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
],
python_requires='>=3.7', # minimum version requirement of the package
py_modules=['grale'], # name of the python package
package_dir={'':'src'}, # directory of the source code of the package
install_requires=[ # package dependencies
'urllib3>=1.26.12',
'requests_pkcs12>=1.14',
'arcgis2geojson>=3.0.1',
'shapely>=1.8.4'
'geopandas>=0.11.1',
'pandas>=1.4.3'
]
)