Utilities/__init__.py

branch
5_3_x
changeset 2611
dd77cc80e343
parent 2557
bf643d8b37fc
child 2764
1d85539ac41a
--- a/Utilities/__init__.py	Sun Apr 21 13:04:02 2013 +0200
+++ b/Utilities/__init__.py	Mon Apr 22 20:24:58 2013 +0200
@@ -44,6 +44,7 @@
 
 from Globals import isWindowsPlatform, isLinuxPlatform, isMacPlatform  # __IGNORE_WARNING__
 from Globals import getConfigDir, setConfigDir  # __IGNORE_WARNING__
+from Globals import getPythonModulesDirectory   # __IGNORE_WARNING__
 # import these methods into the Utilities namespace
 
 from E5Gui.E5Application import e5App
@@ -1196,16 +1197,6 @@
     return QDir.homePath()
     
 
-def getPythonModulesDirectory():
-    """
-    Function to determine the path to Python's modules directory.
-    
-    @return path to the Python modules directory (string)
-    """
-    import distutils.sysconfig
-    return distutils.sysconfig.get_python_lib(True)
-    
-
 def getPythonLibPath():
     """
     Function to determine the path to Python's library.

eric ide

mercurial