ProjectDjango/Project.py

changeset 10
77b4a30cdbbf
parent 9
8fe581309106
child 11
5eda53fad138
equal deleted inserted replaced
9:8fe581309106 10:77b4a30cdbbf
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 """

eric ide

mercurial