]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
bos #41189 dll exposition is not required since feature vetoed bos/41189
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 18 Apr 2024 14:59:37 +0000 (16:59 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 18 Apr 2024 14:59:37 +0000 (16:59 +0200)
doc/salome/gui/GEOM/collect_geom_methods.py

index cf7a279df5dd5f1b2be56e589d27a7103b792f40..8f5a863a96ae355f22998bb64bb3285ecedab0a8 100755 (executable)
@@ -115,19 +115,7 @@ if __name__ == "__main__":
                         help=h)
     parser.add_argument("plugin", nargs='+', help='Name of plugin')
     args = parser.parse_args()
-    import platform
-    if 'Windows' == platform.system():
-        import sys
-        if sys.version_info > (3,8):
-            import os
-            os.add_dll_directory(os.path.join(os.getenv('KERNEL_ROOT_DIR'), 'lib', 'salome'))
-            os.add_dll_directory(os.path.join(os.getenv('GUI_ROOT_DIR'), 'lib', 'salome'))
-            os.add_dll_directory(os.path.join(os.getenv('PTHREAD_ROOT_DIR'), 'lib'))
-            os.add_dll_directory(os.path.join(os.getenv('PRODUCT_ROOT_DIR'), 'W64', 'EXT', 'bin'))
-            os.add_dll_directory(os.path.join(os.getenv('PRODUCT_ROOT_DIR'), 'W64', 'EXT', 'lib'))
-            os.add_dll_directory(os.getenv('OMNIORB_LIB_DIR'))
-            os.add_dll_directory(os.getenv('OMNIORB_BIN_DIR'))
-    plugins_names = ' '.join(args.plugin) + 'plugin'
+    plugins_names = " ".join(args.plugin) + 'plugin'
     if len(args.plugin) > 1:
         plugins_names += 's'
     output = []