Salome HOME
A way to deal with environment modules.
[tools/yacsgen.git] / Examples / types1 / components.py
index 4b2a0304fc0a6e26352eecbbfc441b1075f3c004..f9c59af7798267dbf002d73c7b60787d54ea2d2d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2019  EDF R&D
+# Copyright (C) 2009-2021  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -201,5 +201,9 @@ g.generate()
 g.configure()
 g.make()
 g.install()
-g.make_appli("appli", restrict=["KERNEL"], altmodules={"GUI":GUI_ROOT_DIR, "YACS":YACS_ROOT_DIR, "GEOM":GEOM_ROOT_DIR})
+g.make_appli("appli", restrict=["KERNEL"],
+             altmodules={"GUI":GUI_ROOT_DIR,
+                         "YACS":YACS_ROOT_DIR,
+                         "GEOM":GEOM_ROOT_DIR},
+             sys_modules=SYS_MODULES)