11from setuptools import find_namespace_packages , setup
2-
2+
33setup (
4- name = 'touchterrain' ,
5- version = '3.7.0' , # Feb. 17, 2025
6- description = 'Framework for converting raster based Digital Elevation Models (online or local) into 3D printable terrain models (STL)' ,
7- url = 'https://github.com/ChHarding/TouchTerrain_for_CAGEO' ,
8- license = 'MIT' ,
9- classifiers = [
10- 'Programming Language :: Python :: 3' ,
11- ],
12- keywords = 'elevation terrain 3D-printing geotiff STL' ,
13- python_requires = '>=3.8, <4' ,
14- author = "Chris Harding" ,
4+ name = "touchterrain" ,
5+ version = "3.7.0" , # Feb. 17, 2025
6+ description = "Framework for converting raster based Digital Elevation Models (online or local) into 3D printable terrain models (STL)" ,
7+ url = "https://github.com/ChHarding/TouchTerrain_for_CAGEO" ,
8+ license = "MIT" ,
9+ classifiers = [
10+ "Programming Language :: Python :: 3" ,
11+ "Programming Language :: Python :: 3.12" ,
12+ ],
13+ keywords = "elevation terrain 3D-printing geotiff STL" ,
14+ python_requires = ">=3.12, <4" ,
15+ author = "Chris Harding" ,
151616- packages = find_namespace_packages (include = ["touchterrain.*" ]), # should only be server and common
17+ packages = find_namespace_packages (
18+ include = ["touchterrain.*" ]
19+ ), # should only be server and common
1720 include_package_data = True ,
1821 install_requires = [
19- ' Pillow>=6.0.0' ,
20- ' google-api-python-client>=2.6' ,
21- ' earthengine-api>=0.1.232' ,
22- ' oauth2client>=4.1.3' ,
23- ' numpy>=1.17' ,
24- ' scipy>=1.2' , # Only needed for hole filling functionality
25- ' kml2geojson>=4.0.2' , # for reading polygon coords from kml
26- ' geojson>=2.5' , # for wrapping polygon data
27- ' defusedxml>=0.6' , # safe minidom for parsing kml
28- ' six>=1.15.0' , # earthengine apparently uses an old version of six ...
22+ " Pillow>=6.0.0" ,
23+ " google-api-python-client>=2.6" ,
24+ " earthengine-api>=0.1.232" ,
25+ " oauth2client>=4.1.3" ,
26+ " numpy>=1.17" ,
27+ " scipy>=1.2" , # Only needed for hole filling functionality
28+ " kml2geojson>=4.0.2" , # for reading polygon coords from kml
29+ " geojson>=2.5" , # for wrapping polygon data
30+ " defusedxml>=0.6" , # safe minidom for parsing kml
31+ " six>=1.15.0" , # earthengine apparently uses an old version of six ...
2932 #'GDAL>3.4.3', # Installation via pip requires a C++ compiler: https://visualstudio.microsoft.com/visual-cpp-build-tools
3033 # with conda: conda install -c conda-forge gdal
3134 # Prebuilds (.whl) : https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal but stopped with 3.4.3
3538 "httplib2>=0.22.0" ,
3639 "matplotlib>=3.9.2" ,
3740 ],
38-
3941 extras_require = {
40- ' server' : [ # Not sure which of the above could also be server-only
41- ' gunicorn>=20.0.4' ,
42- ' Flask>=1.0.2' ,
42+ " server" : [ # Not sure which of the above could also be server-only
43+ " gunicorn>=20.0.4" ,
44+ " Flask>=1.0.2" ,
4345 ],
4446 },
45- )
47+ )
0 commit comments