scripts/install.py

branch
eric7
changeset 10122
f9b87800ecf2
parent 10119
64147a7e6393
child 10148
31ba20629af4
child 10162
e7040c88b39e
equal deleted inserted replaced
10121:cae522f5a272 10122:f9b87800ecf2
1118 Create Desktop and Start Menu links. 1118 Create Desktop and Start Menu links.
1119 """ 1119 """
1120 try: 1120 try:
1121 # check, if pywin32 is available 1121 # check, if pywin32 is available
1122 from win32com.client import Dispatch # __IGNORE_WARNING__ 1122 from win32com.client import Dispatch # __IGNORE_WARNING__
1123 except (ImportError, ModuleNotFoundError): 1123 except (ImportError, ModuleNotFoundError): # noqa: M514
1124 installed = pipInstall( 1124 installed = pipInstall(
1125 "pywin32", 1125 "pywin32",
1126 "\nThe Python package 'pywin32' could not be imported.", 1126 "\nThe Python package 'pywin32' could not be imported.",
1127 force=False, 1127 force=False,
1128 ) 1128 )

eric ide

mercurial