kopia lustrzana https://github.com/OpenDroneMap/WebODM
Install GDAL/rasterio/GEOS via pip
rodzic
083690eb33
commit
c1effc5e75
|
@ -24,7 +24,7 @@ futures==3.0.5
|
|||
geojson==2.3.0
|
||||
gunicorn==19.7.1
|
||||
itypes==1.1.0
|
||||
kombu==4.1.0
|
||||
kombu==4.6.7
|
||||
libsass==0.13.3
|
||||
Markdown==2.6.7
|
||||
olefile==0.44
|
||||
|
@ -32,10 +32,10 @@ openapi-codec==1.1.7
|
|||
packaging==16.8
|
||||
piexif==1.0.13
|
||||
pilkit==2.0
|
||||
Pillow==6.2.0
|
||||
Pillow==6.2.2
|
||||
pip-autoremove==0.9.0
|
||||
psycopg2==2.7.4
|
||||
psycopg2-binary==2.7.4
|
||||
psycopg2==2.8.4
|
||||
psycopg2-binary==2.8.4
|
||||
PyJWT==1.5.3
|
||||
pyodm==1.5.3b1
|
||||
pyparsing==2.1.10
|
||||
|
@ -53,7 +53,10 @@ tzlocal==1.3
|
|||
uritemplate==3.0.0
|
||||
vine==1.1.4
|
||||
webcolors==1.5
|
||||
rasterio==1.1.0
|
||||
-e git://github.com/OpenDroneMap/rio-tiler.git#egg=rio-tiler
|
||||
rio-color==1.0.0
|
||||
rio-cogeo==1.1.8
|
||||
rio-cogeo==1.1.8
|
||||
rasterio==1.1.0 ; sys_platform == 'linux' or sys_platform == 'darwin'
|
||||
https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/rasterio-1.1.3-cp38-cp38-win_amd64.whl ; sys_platform == "win32"
|
||||
https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/GDAL-3.0.4-cp38-cp38-win_amd64.whl ; sys_platform == "win32"
|
||||
Shapely==1.7.0 ; sys_platform == "win32"
|
|
@ -10,7 +10,7 @@ For the full list of settings and their values, see
|
|||
https://docs.djangoproject.com/en/1.10/ref/settings/
|
||||
"""
|
||||
|
||||
import os, sys, json
|
||||
import os, sys, json, platform
|
||||
|
||||
import datetime
|
||||
|
||||
|
@ -335,6 +335,9 @@ CELERY_INCLUDE=['worker.tasks']
|
|||
CELERY_WORKER_REDIRECT_STDOUTS = False
|
||||
CELERY_WORKER_HIJACK_ROOT_LOGGER = False
|
||||
|
||||
if platform.system() == "Windows":
|
||||
GDAL_LIBRARY_PATH = ".venv/Lib/site-packages/osgeo/gdal300"
|
||||
GEOS_LIBRARY_PATH = ".venv/Lib/site-packages/shapely/DLLs/geos_c"
|
||||
if TESTING:
|
||||
CELERY_TASK_ALWAYS_EAGER = True
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue