PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 28th of October, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:36:43] <doismellburning> any reason not to use `include_package_data=True` in setup.py?
[09:37:09] <doismellburning> (I mean, beyond "having data you don't want installed in your package")
[09:59:46] <doismellburning> (context: "install_package_data=True means we can strip out all this logic that's copy/pasted between setup.py files, since there's no case there where you don't want data from inside packages" vs "i_p_d is a nasty hack"
[09:59:50] <doismellburning> )
[10:51:46] <mgedmin> I'm not aware of any downsides to include_package_data=True
[10:52:01] <mgedmin> I think it's there solely for paranoid backwards-compat reasons
[10:54:41] <doismellburning> that sounds like a downside ;)
[10:55:55] <mgedmin> you know what, ignore what I think, I'm not an expert :)
[11:02:33] <aclark> Heh
[19:45:41] <bowlofeggs> is there documentation on the server side of a pip install session?
[19:45:55] <bowlofeggs> i'm trying to make http://pulpproject.org able to mimic pypi
[19:46:21] <bowlofeggs> and it would be handy if there were documentation of what pip is looking for on the other end of the -i flag
[19:47:35] <apollo13> bowlofeggs: not aware of any docs, but in the worst case it boils down to scraping http://pypi.python.org/simple
[19:47:55] <apollo13> or directly trying pypi.python.org/pypi/<Package_name>
[19:48:14] <apollo13> actually, over the /simple/ api, so https://pypi.python.org/simple/Django
[19:48:27] <apollo13> from there just find whatever matches your version
[19:48:32] <bowlofeggs> ah ok
[19:48:47] <bowlofeggs> it is simple indeed
[19:48:48] <apollo13> logging the http requests should also be easy enough I'd imagine, there isn't much magic involded
[19:48:52] <bowlofeggs> i've been looking at it a good bit
[19:48:52] <apollo13> involved
[19:49:01] <bowlofeggs> cool
[19:49:15] <bowlofeggs> well, wish me luck!
[19:49:22] <apollo13> and well, then there is the security stuff, like not following external links and prefering wheels etc…
[19:49:32] <apollo13> but that's about it afaik, dstufft should know more ;)