[bin] use sys.exit + build meshroom_compute executable

* cx_Freeze removes builtin 'exit' function, use sys.exit in executables instead
* build: generate an executable for "meshroom_compute"
This commit is contained in:
Yann Lanthony 2019-02-27 15:00:16 +01:00
parent 569424274b
commit b147788e5c
6 changed files with 20 additions and 11 deletions

View file

@ -113,6 +113,11 @@ meshroomPhotog = PlatformExecutable(
"bin/meshroom_photogrammetry"
)
meshroomCompute = PlatformExecutable(
"bin/meshroom_compute"
)
setup(
name="Meshroom",
description="Meshroom",
@ -127,5 +132,5 @@ setup(
],
version=meshroom.__version__,
options={"build_exe": build_exe_options},
executables=[meshroomExe, meshroomPhotog],
executables=[meshroomExe, meshroomPhotog, meshroomCompute],
)