Fixed an issue finding the python executable. release-5.0.2

Fri, 20 Jan 2017 19:03:37 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 20 Jan 2017 19:03:37 +0100
changeset 94
85efbaa3f2e3
parent 93
cf83715ac2f7
child 95
e1033dff0bd8

Fixed an issue finding the python executable.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectDjango.py file | annotate | diff | comparison | revisions
PluginProjectDjango.zip file | annotate | diff | comparison | revisions
ProjectDjango/Project.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Dec 31 13:50:48 2016 +0100
+++ b/ChangeLog	Fri Jan 20 19:03:37 2017 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.0.2:
+- bug fixes
+
 Version 5.0.1:
 - bug fixes
 - some more eye-candy
--- a/PluginProjectDjango.py	Sat Dec 31 13:50:48 2016 +0100
+++ b/PluginProjectDjango.py	Fri Jan 20 19:03:37 2017 +0100
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.0.1"
+version = "5.0.2"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
Binary file PluginProjectDjango.zip has changed
--- a/ProjectDjango/Project.py	Sat Dec 31 13:50:48 2016 +0100
+++ b/ProjectDjango/Project.py	Fri Jan 20 19:03:37 2017 +0100
@@ -1397,7 +1397,6 @@
             elif language == "Python2":
                 pythonExeList = ["python2", "pypy2"]
             if not virtualEnv:
-                pythonExeList.append("pypy")
                 virtualEnv = self.__getDebugEnvironment(language)
             
             for pythonExe in pythonExeList:
@@ -1405,6 +1404,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