
On Mon, Oct 26, 2015 at 11:33 PM, Charles R Harris <charlesr.harris@gmail.com> wrote:
On Tue, Oct 27, 2015 at 12:08 AM, Nathaniel Smith <njs@pobox.com> wrote:
On Mon, Oct 26, 2015 at 11:03 PM, Charles R Harris <charlesr.harris@gmail.com> wrote:
[...]
I gave it a shot the other day. Pip keeps a record of the path to the repo and in order to cleanup I needed to search out the file and delete the repo path. There is probably a better way to do that, but it didn't strike me as less troublesome than ` python setup.py install --local`.
Sorry, what did you "give a shot", and what problem did it create? What does `setup.py install --local` do? (it doesn't seem to be mentioned in `setup.py install --help`.)
`pip install --user -e . `. However, `pip install --user .` seems to work fine. The pip documentation isn't the best.
Yeah, `--user` not `--local`. It's getting late...
Ah. I think if you want to undo a `pip install --user -e .` you can just do `pip uninstall numpy`? But in any case the equivalent of 'pip install -e' is 'setup.py develop', and the proposal is only to disable `setup.py install`. So if you prefer `setup.py develop` then you could still use it. (IIUC `pip install -e` is a *very* thin wrapper around `setup.py develop` -- normally pip takes over the job of actually installing files, so pip gets to interpret options like --user and figure out what it means for where it puts the files, but in the case of `install -e` it looks like it just calls `setup.py develop` directly, so if --user doesn't work it's probably because setup.py develop doesn't know about --user?) -n -- Nathaniel J. Smith -- http://vorpus.org