#33044: pyproject.toml breaks pip install into user site directory with editable
source
-------------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: new
Component: Packaging | Version: dev
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
The addition of [https://github.com/django/django/pull/13994/files
pyproject.toml] in [https://github.com/django/django/pull/13994 PR 13994]
causes `pip install -e` into a user site directory to fail. See
[https://github.com/django/django/pull/13994#issuecomment-859975234 thread
on the original PR].
Nick Pope
[https://github.com/django/django/pull/13994#issuecomment-870861490
proposes three possible options]:
1. The documentation approach -- using `--no-build-isolation` with `pip
install --editable --user` will work.
2. Add the following hack to setup.py in Django:
{{{ #!python
import site
import sys
site.ENABLE_USER_SITE = '--user' in sys.argv[1:]
}}}
3. Revert the change that added build-system isolation until there is a
blessed solution for editable installs with PEP 517.
--
Ticket URL: <https://code.djangoproject.com/ticket/33044>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.5f132ee41a19bff51ee1197638b8de90%40djangoproject.com.