-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[FR] Implement PEP 660 -- Editable Installations #2816
Copy link
Copy link
Labels
Needs DiscussionIssues where the implementation still needs to be discussed.Issues where the implementation still needs to be discussed.Needs ImplementationIssues that are ready to be implemented.Issues that are ready to be implemented.Needs InvestigationIssues which are likely in scope but need investigation to figure out the causeIssues which are likely in scope but need investigation to figure out the causeenhancementhelp wantedproposaltask
Metadata
Metadata
Assignees
Labels
Needs DiscussionIssues where the implementation still needs to be discussed.Issues where the implementation still needs to be discussed.Needs ImplementationIssues that are ready to be implemented.Issues that are ready to be implemented.Needs InvestigationIssues which are likely in scope but need investigation to figure out the causeIssues which are likely in scope but need investigation to figure out the causeenhancementhelp wantedproposaltask
What's the problem this feature will solve?
PEP 660 standardises the mechanism that
setup.py developuses to make "editable" packages.Currently, pip needs to implement fairly horrible hacks to make legacy
setup.py developbuilds work. It'd be great if setuptools could implement PEP 660, which would be the last item from setuptools' end before pip can start the process of removing the legacy directly-call-setup.py build system.Describe the solution you'd like
PEP 660's build_editable hook gets implemented in aetuptools.
Alternative Solutions
Not doing this.
I imagine this will mean that either (a) pip continues to maintain editable installs for setuptools or (b) pip drops the legacy build system entirely and users of setuptools projects will no longer be able to make editable installations.
I don't think (b) is happening any time soon, and it'd likely be best to implement the hook here.
Additional context
IIUC, this has been implemented in setuptools-pep660 already. It might not be a lot of work to migrate the work done there into seriptools directly.
Code of Conduct