Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Import setuptools before distutils #643

Closed
wants to merge 1 commit into from

Commits on Nov 12, 2022

  1. Import setuptools before distutils

    setuptools 60 uses its own bunlded version of distutils, by default. It
    injects this into sys.modules, at import time. So we need to make sure
    that it is imported, before anything else imports distutils, to ensure
    everything is using the same distutils version.
    
    This change in setuptools is to prepare for Python 3.12, which will drop
    distutils.
    stefanor committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    aa0c1fa View commit details
    Browse the repository at this point in the history