ProjectPyramid/Project.py

changeset 104
3e34b23890af
parent 99
d148b68ccc76
child 106
2086bda4a893
diff -r 73a2bcce8a58 -r 3e34b23890af ProjectPyramid/Project.py
--- 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