PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Saturday the 2nd of April, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[08:33:56] <DRMacIver> I've started seeing https://travis-ci.org/DRMacIver/hypothesis/jobs/120244169#L233 on all my OSX builds on Travis. I've yet to properly investigate but thought I'd check first if this was a thing people had seen / the cause was obvious
[14:51:48] <torarne1> Q: Say I have ~/dev/foo and ~/dev/bar, and foo has bar > 1.0 in its requirements.txt, is there any way to run pip install for foo and have it pick up bar locally instead of from pypi?
[14:52:53] <dstufft> torarne1: pip install --find-links ~/dev/bar#egg=bar ~/dev/foo
[14:52:54] <dstufft> I think
[14:53:16] <torarne1> Actually, I guess what I really want is for pip install bar as usual, that part doesn't matter, but when i run foo i want to pick up bar from local, so i can make changes to bar
[14:53:30] <torarne1> dstufft: interesting
[14:53:47] <dstufft> or if you can do two invocations, just installl bar first
[14:54:07] <dstufft> perhaps with -e to do an editable install so you can make changes without requiring a reinstall
[14:54:31] <torarne1> right, that's what im doing now but that puts the srces into my virtualenv right?
[14:54:41] <torarne1> i'd like to keep the sources in ~/dev/bar
[14:54:50] <torarne1> and edit them there instead of in ~/dev/foo/src/bar
[14:55:34] <dstufft> pip install -e ~/dev/bar
[14:55:43] <dstufft> will let you edit bar in ~/dev/bar
[14:55:48] <torarne1> ah, nice
[14:55:54] <torarne1> so a combo of those two then maybe
[14:55:58] <torarne1> ?
[14:56:04] <torarne1> -e bar —find-links ~/dev/bar#egg=bar
[14:56:05] <torarne1> ?
[14:56:47] <dstufft> nah, you'll need to do ``pip install -e ~/dev/bar && pip install ~/dev/foo (or -e ~/dev/foo if you want that one editable too)
[15:03:22] <torarne1> nice
[15:03:25] <torarne1> thanks man
[15:04:24] <dstufft> no problem!