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.
* cc: Florian Apolloner, Chris Jerdonek, Nick Pope (added)
* stage: Unreviewed => Accepted
Comment:
Agreed, we should do something. I'd prefer the second option.
--
Ticket URL: <https://code.djangoproject.com/ticket/33044#comment:1>
* owner: nobody => Carlton Gibson
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/14820 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33044#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"c1d50b901b50672a46e7e5fe473c14da1616fc4e" c1d50b90]:
{{{
#!CommitTicketReference repository=""
revision="c1d50b901b50672a46e7e5fe473c14da1616fc4e"
Fixed #33044 -- Reallowed editable install into user site directory.
Regression in f8f35e8c530aaf440fa8160327461460d79f6db2.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33044#comment:3>