This is an archive of the discontinued Mercurial Phabricator instance.

setup: don't import distutils prior to checking FORCE_SETUPTOOLS
ClosedPublic

Authored by danchr on Jan 12 2021, 7:07 AM.

Details

Summary

I've seen warnings about importing distutils before setuptools,
although I can't reproduce them at the moment.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

danchr created this revision.Jan 12 2021, 7:07 AM
Alphare accepted this revision.Jan 12 2021, 11:45 AM
mharbison72 accepted this revision.Jan 13 2021, 12:21 PM
mharbison72 added a subscriber: mharbison72.

make -C .. local PYTHON="py -3.9" on Windows was enough to trigger if for me all the time.

This revision is now accepted and ready to land.Jan 13 2021, 12:21 PM