Force proj db version 6, remove PROJ_LIB setting

pull/1338/head
Piero Toffanin 2021-08-14 11:39:24 +02:00
rodzic 48f08d5d0c
commit 0cfd3c9a9b
2 zmienionych plików z 1 dodań i 6 usunięć

6
run.py
Wyświetl plik

@ -6,13 +6,7 @@ if sys.version_info.major < 3:
print("Ups! ODM needs to run with Python 3. It seems you launched it with Python 2. Try using: python3 run.py ... ")
sys.exit(1)
# Set PROJ_LIB explicitly unless already set to fix Fiona imports
# when multiple versions of the proj database are installed
import os
import pyproj
if os.environ.get('PROJ_LIB') is None:
os.environ['PROJ_LIB'] = pyproj.datadir.get_data_dir()
from opendm import log
from opendm import config
from opendm import system

Wyświetl plik

@ -61,6 +61,7 @@ parts:
- libspqr2
- libssl1.1
- libusb-1.0-0
- proj-data=6*
- procps
- python3
- python3-distutils