Pip: fixed an issue related to determining the pip config file path for a global environment.

Sun, 24 Feb 2019 18:13:28 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Feb 2019 18:13:28 +0100
changeset 6819
6c49d4ed077d
parent 6818
961bfc3b68f1
child 6820
879ce0bb0c16

Pip: fixed an issue related to determining the pip config file path for a global environment.

PipInterface/Pip.py file | annotate | diff | comparison | revisions
--- a/PipInterface/Pip.py	Sun Feb 24 18:06:00 2019 +0100
+++ b/PipInterface/Pip.py	Sun Feb 24 18:13:28 2019 +0100
@@ -156,7 +156,7 @@
         
         venvManager = e5App().getObject("VirtualEnvManager")
         if venvManager.isGlobalEnvironment(venvName):
-            venvDirectory = self.__getUserConfig()
+            venvDirectory = os.path.dirname(self.getUserConfig())
         else:
             venvDirectory = venvManager.getVirtualenvDirectory(venvName)
         

eric ide

mercurial