ProjectDjango/Project.py

changeset 94
85efbaa3f2e3
parent 93
cf83715ac2f7
child 96
8ecf7b5a134a
--- 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