PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 19th of August, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[11:58:21] <Shred00> does "pip install --no-index --find-links ... -r requirements.txt" not also work for fully qualified URLs? i.e. having an "https://www.example.com/pys/foo-1.2.3.zip" in requirements.txt
[11:59:22] <Shred00> even though there is a URL on foo-1.2.3.zip, i still want pip to pull it from the path pointed to by --find-links
[18:15:13] <_habnabit> i'm trying to figure out how exactly find-links and index-url interact in a pip.conf file. i have both set, and pip seems to be preferring the index-url to the find-links, when i want it to be installing from the wheels in the find-links directory
[18:16:15] <_habnabit> so, i'm just trying to figure out how i should configure pip so that the wheel directory is preferred highest, and then after that check an internal pypi
[18:18:57] <dstufft> you can't basically
[18:19:05] <dstufft> although wheels should always be preferred
[18:29:27] <_habnabit> dstufft, sorry, which part can't i do? that ordering of preferred sources?
[18:29:34] <dstufft> yea
[18:29:38] <dstufft> well
[18:29:40] <_habnabit> hm
[18:29:41] <dstufft> you sort of can
[18:29:58] <dstufft> pip will do <PyPI>, <other indexes>, <find links>
[18:30:43] <dstufft> I think if you structure your --find-links as an index isntead of a find-links, and then you do pip install --index-url <your index> --extra-index-url https://pypi.python.org/simple/
[18:30:45] <dstufft> it might work
[18:31:12] <dstufft> but if pip determines that there is a sdist on PyPI for foo 1.0, and a wheel on find-links for foo 1.0, it should always use the wheel
[18:31:26] <dstufft> Verison number > Format > What order it found links in
[18:31:29] <dstufft> basically
[18:37:45] <_habnabit> dstufft, ah, it looks like doing find-links and index-url together like this will work out after all; the problem i was having was that i hadn't pushed some code to git, so the git version of the wheel it was building was older than the sdist on the pypi. i was trying to figure out why it was building the wheel twice
[18:48:17] <_habnabit> now i just need to figure out how to make dh-virtualenv use my pip.conf too