PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 5th of November, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[04:02:33] <kentzo> Hi everyone. I wonder why pip skips __init__.py for namespace packages?
[20:24:28] <guest999> hello, is this the right place to ask questions about pip?
[20:26:22] <cerivera> how long before a package propagates throughout the CDN?
[20:36:39] <Yasumoto> guest999: give your question a whirl
[20:36:47] <Yasumoto> (it's a ~good place)
[20:40:51] <dstufft> cerivera: should be nearly immediate
[20:40:52] <dstufft> 500ms or so
[20:41:00] <guest999> i am working on a django app and i have been regularly updating my requirements.txt file. so far, i've been using packages that can be found on pypi
[20:41:45] <guest999> but i now need a package found elsewhere, so i was able to install it with another index-url, but how do i specify that in my requirements.txt file?
[20:41:56] <dstufft> --extra-index-url
[20:43:07] <guest999> if the other index has packages that overlap with pypi, what happens?
[20:43:39] <cerivera> dstufft: hrmm, what does it mean if my package is found with easy_install but not with pip?
[20:43:40] <dstufft> it's combined as if they were one index
[20:43:51] <dstufft> cerivera: what's the name
[20:43:56] <cerivera> pyexperian
[20:45:04] <dstufft> cerivera: it means you only uploaded an egg, which pip doesn't support
[20:45:22] <cerivera> hrmm
[20:45:29] <dstufft> cerivera: you should generally at least upload an sdist, additionally a Wheel too if you want to go one better
[20:45:32] <cerivera> i used twine to upload my dist/*
[20:45:51] <cerivera> Wheel? okay, i'll check it out
[20:46:08] <dstufft> https://packaging.python.org/en/latest/distributing.html#packaging-your-project
[20:46:22] <dstufft> if you're using twine you should be able to just do
[20:46:23] <dstufft> pip install wheel
[20:46:30] <dstufft> setup.py sdist bdist_wheel
[20:46:37] <dstufft> and then upload the new files in dist/
[20:46:44] <cerivera> thanks, dstufft
[20:47:16] <dstufft> if your project is Pytohn 2.x and 3.x and it uses the same files on 2 and 3 you can use the --universal flag to bdist_wheel (or add it to the setup.cfg file) to have a single wheel that is valid for both 2.x and 3.x
[20:47:17] <JordiGH> How do I pass an option like --pure to setup.py using pip?
[20:47:24] <JordiGH> I thought --install-option=pure would do it.
[20:48:14] <JordiGH> Ah, turns out I needed --global-option=--pure
[20:48:45] <guest999> if two libraries are both hosted on pypi and elsewhere, is there a way to tell pip to install library1 from pypi and library2 from the second source?
[20:49:15] <guest999> in a requirements.txt
[21:01:53] <tomprince> Is there anyway to get pip to ignore a configuration file?
[21:02:24] <tomprince> Having find-links in pip.conf causes 'pip freeze' to leak that configuration, which confuses things trying to parse the output.
[21:59:25] <buck1> papna: yes, quite
[22:00:07] <dstufft> tomprince: you can set --config-file to /dev/null