-
Notifications
You must be signed in to change notification settings - Fork 67
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
Conversation
jaraco
commented
Nov 13, 2021
- Create hooks and implement Debian's patches against those hooks. Fixes Install locations and features missed on Debian #2.
- Scheme now uses 'posix'
- Add a hook on import of distutils that will allow Debian to override the default behavior. Fixes Install locations and features missed on Debian #2.
…the default behavior. Fixes #2.
8316410
to
27c5690
Compare
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 |
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. |
In pypa/setuptools#2956 (comment) (69f8573), I extended the _distutils_system_mod to include an additional change to support Debian environments. (debian-patch branch). |
…hat `.readthedocs.yml` will be deprecated) (#68)