kopia lustrzana https://github.com/OpenDroneMap/ODM
Fixes, set pycache location
rodzic
a11992ab0f
commit
6c32fc0594
|
@ -59,6 +59,7 @@ Source: "settings.yaml"; DestDir: "{app}"; Flags: ignoreversion
|
|||
Source: "win32env.bat"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "winrun.bat"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "SuperBuild\download\vc_redist.x64.exe"; DestDir: {tmp}; Flags: dontcopy
|
||||
Source: "winpostinstall.bat"; DestDir: "{app}"; Flags: ignoreversion
|
||||
|
||||
[Dirs]
|
||||
Name: "{commonappdata}\ODM"; Permissions: users-modify
|
||||
|
@ -72,7 +73,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
|
|||
|
||||
[Run]
|
||||
Filename: "{tmp}\vc_redist.x64.exe"; StatusMsg: "Installing Visual C++ Redistributable Packages for Visual Studio 2019"; Parameters: "/quiet"; Check: VC2019RedistNeedsInstall ; Flags: waituntilterminated
|
||||
Filename: "{app}\patchOpenCV.bat"; StatusMsg: "Patching OpenCV"; Parameters: "/quiet"; Flags: waituntilterminated
|
||||
Filename: "{app}\winpostinstall.bat"; StatusMsg: "Post Install"; Flags: waituntilterminated runhidden
|
||||
Filename: "{app}\console.bat"; Description: {cm:LaunchProgram,ODM Console}; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Code]
|
||||
|
|
|
@ -3,7 +3,7 @@ from opendm.net import download
|
|||
from opendm import log
|
||||
import zipfile
|
||||
import time
|
||||
import sys, platform
|
||||
import sys
|
||||
|
||||
def get_model(namespace, url, version, name = "model.onnx"):
|
||||
version = version.replace(".", "_")
|
||||
|
|
|
@ -15,6 +15,7 @@ set GDAL_DRIVER_PATH=%GDALBASE%\gdalplugins
|
|||
set OSFMBASE=%ODMBASE%SuperBuild\install\bin\opensfm\bin
|
||||
set SBBIN=%ODMBASE%SuperBuild\install\bin
|
||||
set PDAL_DRIVER_PATH=%ODMBASE%SuperBuild\install\bin
|
||||
set PYTHONPYCACHEPREFIX=%PROGRAMDATA%\ODM\pycache
|
||||
|
||||
set PATH=%GDALBASE%;%SBBIN%;%OSFMBASE%
|
||||
set PROJ_LIB=%GDALBASE%\data\proj
|
||||
|
|
Ładowanie…
Reference in New Issue