]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Reset venv_directory_path in case of non existent venv directory
authorGilles DAVID <gilles-g.david@edf.fr>
Mon, 31 May 2021 08:44:35 +0000 (10:44 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Mon, 31 May 2021 08:44:35 +0000 (10:44 +0200)
bin/appli_gen.py

index 0ea6f37ae9a79582b0e2229a1f017af52298fae0..720505ba03cfab532fc90523485a7c62440ce30a 100755 (executable)
@@ -373,6 +373,8 @@ def install(prefix, config_file, verbose=0):
                     from pip.operations import freeze
                 fd.write('\n'.join(freeze.freeze()))
             del sys.path[0]
+        else:
+            venv_directory_path = None
 
     with open(os.path.join(home_dir, 'env.d', 'configSalome.sh'),'w') as f:
         for module in _config.get("modules", []):