mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-26 21:17:29 +02:00
[setup] add 'setupEnvironment' for setting-up standalone configuration
* setup environment vars to work in a prebuilt, standalone configuration * call 'setupEnvironment' at the beginning of executables
This commit is contained in:
parent
c0c28b5dcf
commit
b8730324c7
6 changed files with 98 additions and 5 deletions
|
@ -1,10 +1,12 @@
|
|||
import signal
|
||||
import sys
|
||||
|
||||
from meshroom.ui.app import MeshroomApp
|
||||
import meshroom
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
meshroom.setupEnvironment()
|
||||
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
from meshroom.ui.app import MeshroomApp
|
||||
app = MeshroomApp(sys.argv)
|
||||
app.exec_()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue