]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Update for install Salome libraries to lib folder instead of lib64 on 64-bit platform
authormaintenance team <salome-mnt@opencascade.com>
Wed, 16 Apr 2008 12:51:26 +0000 (12:51 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Wed, 16 Apr 2008 12:51:26 +0000 (12:51 +0000)
src/KERNEL_PY/salome_shared_modules.py

index 892b1085f2f51ae0fd577c6609b2419662e8fbce..a1f2b2df8478ce32ba31b8f54470e40be419722d 100755 (executable)
@@ -79,13 +79,7 @@ if sys.platform == "win32":
   splitter = ";"
 path=salome_path.split(splitter)
 import platform
-if platform.architecture()[0] == "64bit":
-    if platform.machine() == "ia64":
-        libdir = "lib"
-    else:
-        libdir = "lib64"
-else:
-    libdir = "lib"
+libdir = "lib"
 for rep in path:
     # Import all *_shared_modules in rep
     for f in glob.glob(os.path.join(rep,libdir,"python"+sys.version[:3],"site-packages","salome","shared_modules","*_shared_modules.py")):