-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add Scheme model and use for wheel installation #7310
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
Conversation
Now we have a nicely-typed interface to the calculated scheme, and some more documentation for the same.
This was already happening in locations.distutils_scheme, we're just reusing the existing work instead of doing it again.
e320986
to
6fa64a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 and btw it reminds me that we should really extract the wheel installation code into a PyPA library that could be used by the different installer.
I even started copying (now obsolete) code over to https://github.com/xavfernandez/cric almost 3 years ago 👴
Thanks both of you for reviewing! I'll merge this now, if anyone sees further issues you know where to find me. :) |
Yea -- the point here is re-usability of all the build logic code once we're at a point where the "core" components of that are no longer tied to pip's internals. |
We now have a Scheme model that represents our installation directories, and we use it to handle our wheel installs and de-duplicate the header install directory calculation logic.
Progresses #6052.