[11:11:17] <ionelmc> how can i avoid this sort of warning: /usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/home/ionel/foobar/.ve/lib/python2.7/site-packages/sphinxcontrib': missing __init__.py ?
[11:11:28] <ionelmc> seems it's a namespace package
[15:09:25] <Bob_George33> I've tried searching around and can't find anything that will help me
[15:10:21] <Bob_George33> I'm using setuptools to install a package and it makes the one file I need executable, non executable, despite the face that it is marked as an executable
[15:53:16] <malinoff> hi, #python seems to ignore my question, so i'm trying to ask here
[15:53:18] <malinoff> if i have a namespaced package X and a couple of subpackages X.A, X.B, X.C, can i still have a dedicated package X ?
[15:53:44] <malinoff> maybe with some clever tricks using importlib machinery?
[16:05:07] <pjdelport> malinoff: I'm not sure, but are you sure you want the excitement of maintaining clever tricks when it comes to packaging?
[16:06:33] <malinoff> pjdelport, well, i can live with just one package applying such tricks
[16:07:01] <malinoff> i just want to avoid creating mylib.core/mylib.common/whatever package
[16:07:19] <malinoff> simply because it is not *core*
[16:07:39] <malinoff> it can (and maybe should) be used as standalone library
[16:09:31] <malinoff> i should probably just use a submodule as namespace package, like mylib.ext
[16:09:48] <malinoff> and instead of having mylib.A, mylib.B i should have mylib.ext.A, mylib.ext.B etc
[17:24:47] <malinoff> ionelmc, yes, i know about it, same for zc, zope etc
[17:25:24] <ionelmc> tho I'd really hate to be the user reporting terrible bugs with your namespacing thing
[17:25:44] <ionelmc> cause I'd be a sad and angry user :-)
[17:25:46] <malinoff> the question is: when i have something. namespace, can i have a dedicated "something" package, so import something will import this package and import something.subpackage will import namespace package
[17:26:49] <malinoff> but i figured already this is not possible
[17:27:27] <ionelmc> malinoff: it is? https://pypi.python.org/pypi/py
[17:28:00] <ionelmc> i briefly looked once, didn't look simple at all
[20:01:47] <pf_moore> Seems to me that using logging for actual user output (as opposed to, well, logging) is pretty icky.
[20:02:03] <pf_moore> But I can't see it changing soon, for hysterical raisins
[20:02:23] <tos9> Yeah. I think probably a new machine readable command might need to be the thing
[20:02:37] <tos9> unless pip wants to handle it entirely
[20:06:45] <pf_moore> Sigh. This feels similar to the old "pip doesn't have a Python API" issue - pip just isn't written to be used as a component.
[20:17:30] <tos9> well, pip doesn't have an API has an "answer" which is "the CLI is the API"
[20:17:56] <tos9> and then if anyone says "yeah but that stinks it's written in Python" you can say "hey mercurial does the same, and so does ..." :P
[20:18:34] <tos9> although I think every time that one comes up the conversation seems to steer towards "What does the api need to have and who wants to do the work for it"
[20:19:05] <dstufft> yes that's basically the question
[20:19:40] <dstufft> figuring out what an API would look like, and whether or not we're happy with the current APIs exposed to do particular things
[20:19:43] <tos9> :) and since the answer doesn't have "tos9 does" in it (at least not right now) I get to not complain about that one :P
[20:20:00] <dstufft> and whether the API should belong inside pip, or if packaging or some other lib is where it belongs
[20:20:10] <dstufft> (like version parsing sin't pip specific, so it doesn't belong there)
[21:28:34] <pf_moore> dstufft: I do think that the pip CLI should be a bit more scripting-friendly, if only in the sense of data on stdout, errors on stderr for things like pip list
[21:29:05] <pf_moore> But as I also don't have any plans to do anything about it (mainly because I can't figure out how) it's still just idle chatter...
[22:24:41] <doismellburning> Registering Can you do the fandango? to https://pypi.python.org/pypi
[22:24:41] <doismellburning> Server response (400): Invalid package name. Names must contain only ASCII letters, digits, underscores, hyphens, and periods
[22:24:55] <doismellburning> (cannot speak for legacy packages)
[22:25:27] <tdsmith> i just meant that pip list --outdated output looks like "astroid (Current: 1.2.1 Latest: 1.3.4)"
[22:26:00] <tdsmith> anyway, point taken, it can be done but it isn't fun :p you could deploy a regex against that
[22:28:09] <doismellburning> otoh I now have https://pypi.python.org/pypi/0-._.-._.-._.-._.-._.-._.-0
[22:30:09] <doismellburning> interestingly I just figured that probably conflicts with 0_._._._._._._._._._._._._0
[22:35:19] <tos9> tdsmith: oh yeah sorry I posted the dumb sed before which you'd still need. So hooray it's possible end of story we can go home :P
[23:40:09] <paulproteus> BTW, dstufft, please meet plathrop, a friend of mine who is excited about all the work you've been doing in packaging-land, and surely is excited about the work of others but doesn't know their names as well yet.
[23:40:53] <plathrop> dstufft: Your post about setup.py vs. requirements.pip is one I paste links to about once per week :-)
[23:41:51] <dstufft> heh, it ended up being a lot more useful than I originally anticipated
[23:42:21] <dstufft> I was frustrated about trying to repeatidly explain to people why reading a requirements.txt inside of a setup.py to populate install_requires was wrong
[23:43:32] <plathrop> I understand the drive - nobody likes maintaining two separate lists that feel like the same thing.
[23:43:55] <plathrop> I'm working on a post trying to explain my experiences with related problems. Specifically around repeatable deploys of python apps.