Fixed an issue finding the python executable. release-2.3.2

Fri, 20 Jan 2017 19:06:19 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 20 Jan 2017 19:06:19 +0100
changeset 104
3e34b23890af
parent 103
73a2bcce8a58
child 105
2a2faf098101

Fixed an issue finding the python executable.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectPyramid.py file | annotate | diff | comparison | revisions
PluginProjectPyramid.zip file | annotate | diff | comparison | revisions
ProjectPyramid/Project.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Jan 18 18:56:55 2017 +0100
+++ b/ChangeLog	Fri Jan 20 19:06:19 2017 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.3.2:
+- bug fixes
+
 Version 2.3.1:
 - updated Russian translations
 - updated Spanish translations
--- a/PluginProjectPyramid.py	Wed Jan 18 18:56:55 2017 +0100
+++ b/PluginProjectPyramid.py	Fri Jan 20 19:06:19 2017 +0100
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.3.1"
+version = "2.3.2"
 className = "ProjectPyramidPlugin"
 packageName = "ProjectPyramid"
 shortDescription = "Project support for Pyramid projects."
Binary file PluginProjectPyramid.zip has changed
--- a/ProjectPyramid/Project.py	Wed Jan 18 18:56:55 2017 +0100
+++ b/ProjectPyramid/Project.py	Fri Jan 20 19:06:19 2017 +0100
@@ -753,7 +753,6 @@
             elif language == "Python2":
                 pythonExeList = ["python2", "pypy2"]
             if not virtualEnv:
-                pythonExeList.append("pypy")
                 virtualEnv = self.__getDebugEnvironment(language)
             
             for pythonExe in pythonExeList:
@@ -761,6 +760,9 @@
                     os.path.join(virtualEnv, "bin", pythonExe),
                     # omit the version character
                     os.path.join(virtualEnv, "bin", pythonExe)[:-1],
+                    os.path.join(virtualEnv, pythonExe),
+                    # omit the version character
+                    os.path.join(virtualEnv, pythonExe)[:-1],
                 ]:
                     if os.path.exists(python):
                         break

eric ide

mercurial