scripts/install.py

changeset 7835
0835ed67714b
parent 7823
9a4e93471a06
child 7836
2f0d208b8137
equal deleted inserted replaced
7834:6ffe1fe2ab4a 7835:0835ed67714b
158 print(" (default: {0})".format(macPythonExe)) 158 print(" (default: {0})".format(macPythonExe))
159 print(" -c don't cleanup old installation first") 159 print(" -c don't cleanup old installation first")
160 if sys.platform.startswith(("win", "cygwin")): 160 if sys.platform.startswith(("win", "cygwin")):
161 print(" --clean-desktop delete desktop links before installation") 161 print(" --clean-desktop delete desktop links before installation")
162 if sys.platform != "darwin": 162 if sys.platform != "darwin":
163 print(" --no-tools don't ask for installation of pyqt5-tools") 163 print(" --no-tools don't ask for installation of pyqt5-tools"
164 "/qt5-applications")
164 print(" -x don't perform dependency checks (use on your own" 165 print(" -x don't perform dependency checks (use on your own"
165 " risk)") 166 " risk)")
166 print(" -z don't compile the installed python files") 167 print(" -z don't compile the installed python files")
167 print(" --yes answer 'yes' to all questions") 168 print(" --yes answer 'yes' to all questions")
168 print() 169 print()
1530 # available (e.g. for 32-Bit Windows) 1531 # available (e.g. for 32-Bit Windows)
1531 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32), 1532 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32),
1532 ] 1533 ]
1533 optionalModulesList = {} 1534 optionalModulesList = {}
1534 if sys.platform != "darwin" and not ignorePyqt5Tools: 1535 if sys.platform != "darwin" and not ignorePyqt5Tools:
1535 optionalModulesList["pyqt5-tools"] = "pyqt5_tools" 1536 optionalModulesList["qt5-applications"] = "qt5_applications"
1536 1537
1537 # check mandatory modules 1538 # check mandatory modules
1538 modulesOK = True 1539 modulesOK = True
1539 for impModule in impModulesList: 1540 for impModule in impModulesList:
1540 name = impModule.split(".")[1] 1541 name = impModule.split(".")[1]

eric ide

mercurial