Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hook to enable monkeypatching in Debian and unblock distutils adoption in Setuptools. #68

Merged
merged 6 commits into from
Nov 18, 2021

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Nov 13, 2021

@jaraco
Copy link
Member Author

jaraco commented Nov 13, 2021

Part of this PR includes https://github.com/pypa/distutils/blob/115da201da0e648d003dabbbd597d285d0d271f2/_distutils_system_mod.py. Debian maintainers can add this file somewhere to sys.path (plus augment install schemes in sysconfig) to allow this latest version of distutils to adopt the Debian patches as found in Python 3.9.

@doko42 Would you take a look and confirm this approach will unblock the use of this distutils in Setuptools?

This change may also help unblock issues like pypa/pip#10647.

cc @FFY00

@jaraco
Copy link
Member Author

jaraco commented Nov 18, 2021

It occurs to me that it may be easier to evaluate this approach by merging it and getting it into Setuptools such that a platform could experiment and test, so I'm going to proceed with the intention of iterating. I still welcome any feedback on the implementation.

@jaraco
Copy link
Member Author

jaraco commented Jan 3, 2022

In pypa/setuptools#2956 (comment) (69f8573), I extended the _distutils_system_mod to include an additional change to support Debian environments. (debian-patch branch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install locations and features missed on Debian
1 participant