forked from ChHarding/TouchTerrain_for_CAGEO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (39 loc) · 1.7 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
from setuptools import find_namespace_packages, setup
setup(
name='touchterrain',
version='3.6.0',
description='Framework for converting raster based Digital Elevation Models (online or local) into 3D printable terrain models (STL)',
url='https://github.com/ChHarding/TouchTerrain_for_CAGEO',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3',
],
keywords='elevation terrain 3D-printing geotiff STL',
python_requires='>=3.8, <4',
author="Chris Harding",
author_email="[email protected]",
packages=find_namespace_packages(include=["touchterrain.*"]), # should only be server and common
include_package_data=True,
install_requires=[
'Pillow>=6.0.0',
'google-api-python-client>=2.6',
'earthengine-api>=0.1.232',
'oauth2client>=4.1.3',
'numpy>=1.17',
'scipy>=1.2', # Only needed for hole filling functionality
'kml2geojson>=4.0.2', # for reading polygon coords from kml
'geojson>=2.5', # for wrapping polygon data
'defusedxml>=0.6', # safe minidom for parsing kml
'six>=1.15.0', # earthengine apparently uses an old version of six ...
#'GDAL>3.4.3', # Installation via pip requires a C++ compiler: https://visualstudio.microsoft.com/visual-cpp-build-tools
# with conda: conda install -c conda-forge gdal
# Prebuilds (.whl) : https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal but stopped with 3.4.3
# Still active: https://www.nuget.org/packages?q=GDAL but uses a .Net package manager
],
extras_require={
'server': [ # Not sure which of the above could also be server-only
'gunicorn>=20.0.4',
'Flask>=1.0.2',
],
},
)