mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-03 04:06:45 +02:00
* setup environment vars to work in a prebuilt, standalone configuration * call 'setupEnvironment' at the beginning of executables
12 lines
244 B
Python
12 lines
244 B
Python
import signal
|
|
import sys
|
|
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_()
|