901 python = os.path.join(virtualEnv, "Scripts", python) |
901 python = os.path.join(virtualEnv, "Scripts", python) |
902 if not os.path.exists(python): |
902 if not os.path.exists(python): |
903 python = os.path.join(virtualEnv, python) |
903 python = os.path.join(virtualEnv, python) |
904 else: |
904 else: |
905 python = os.path.join(virtualEnv, "bin", python) |
905 python = os.path.join(virtualEnv, "bin", python) |
|
906 if not os.path.exists(python): |
|
907 python = python[:-1] # omit the version character |
906 |
908 |
907 return python |
909 return python |
908 |
910 |
909 def __djangoInfo(self): |
911 def __djangoInfo(self): |
910 """ |
912 """ |