Changeset 103070 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Jan 25, 2024 4:52:03 PM (13 months ago)
- svn:sync-xref-src-repo-rev:
- 161316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/common/vboxapisetup.py
r103051 r103070 268 268 setup(cmdclass={"install": setupInstallClass}) 269 269 else: 270 if sys.version_info >= (3, 3): # Starting with Python 3.3 we use pyproject.toml by using setup(). 271 try: 272 from distutils.core import setup # pylint: disable=deprecated-module 273 setup(cmdclass={"install": setupInstallClass}) 274 except ImportError: 275 print("distutils[.core] package not installed/available, falling back to legacy setuptools ...") 276 fInvokeSetupTools = True # Invoke setuptools as a last resort. 277 else: # Python 2.7.x + Python < 3.6 legacy cruft. 270 try: 278 271 from distutils.core import setup # pylint: disable=deprecated-module 279 272 fInvokeSetupTools = True 273 except ImportError: 274 print("ERROR: distutils.core package not installed/available, can't continue. Exiting.") 275 return 1 280 276 281 277 if fInvokeSetupTools:
Note:
See TracChangeset
for help on using the changeset viewer.