Utilities/__init__.py

changeset 6292
e08a94e1ecdd
parent 6291
94e0e688dcad
child 6303
ec9ebaf206fb
equal deleted inserted replaced
6291:94e0e688dcad 6292:e08a94e1ecdd
1776 prefix = os.path.dirname( 1776 prefix = os.path.dirname(
1777 Preferences.getDebugger("Python3Interpreter")) 1777 Preferences.getDebugger("Python3Interpreter"))
1778 else: 1778 else:
1779 prefix = os.path.dirname( 1779 prefix = os.path.dirname(
1780 Preferences.getDebugger("PythonInterpreter")) 1780 Preferences.getDebugger("PythonInterpreter"))
1781 # TODO: check this on Windows
1782 if toolname in ["pyside-uic", "pyside2-uic"]: 1781 if toolname in ["pyside-uic", "pyside2-uic"]:
1783 return os.path.join(prefix, "Scripts", toolname + '.exe') 1782 return os.path.join(prefix, "Scripts", toolname + '.exe')
1784 else: 1783 else:
1785 return os.path.join( 1784 return os.path.join(
1786 prefix, "Lib", "site-packages", 1785 prefix, "Lib", "site-packages",

eric ide

mercurial