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 ) |