PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Friday the 20th of February, 2015

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[15:04:54] <jezdez> dstufft: have you see https://github.com/sudarkoff/setuptools-yaml?
[22:17:33] <msabramo> I think I'm going to start my requirements.txt files with this:
[22:17:35] <msabramo> #!/usr/bin/env pip install -r
[22:17:35] <msabramo> # Why requirements.txt?
[22:17:35] <msabramo> # See https://caremad.io/2013/07/setup-vs-requirement/
[22:17:35] <msabramo> -e .
[22:17:44] <msabramo> :)
[22:23:29] <dstufft> I
[22:23:44] <dstufft> have never thought about using requirements.txt as an executable format
[22:24:07] <dstufft> that would be kinda cool
[22:27:24] <sigmavirus24> heh
[22:27:33] <sigmavirus24> msabramo: for the awesome idea
[22:44:21] <msabramo> I'm not sure which is better; the shebang or the comment with the link to dstufft's post; I'm thinking probably the latter
[22:45:02] <msabramo> since I work with a lot of Python devs who don't know the packaging ecosystem super well
[22:45:10] <sigmavirus24> msabramo: the latter only slightly over the former
[22:46:15] <dstufft> msabramo: so what you're saying is, you work with a lot of regular python devs? ;)
[22:51:42] <msabramo> dstufft: I guess so. A couple years ago I might've thought ours were less informed than average, but I'm coming to believe that it's pretty typical (and understandable)
[22:52:29] <sigmavirus24> packaging is too hard
[22:52:32] <sigmavirus24> i want no dependencies
[22:53:12] <msabramo> the impetus behind this is that I'm sending a PR to a project to add a requirements.txt and I am anticipating that they are going to ask, "Why do we need this? Why can't we just use setup.py?" so I wanted it to explain itself.
[22:53:56] <msabramo> let's just bring back `pip zip` and just created zip files with all the stuff in it. Done.
[23:00:29] <ionelmc> msabramo: you mean the bundle thing?
[23:00:58] <msabramo> ionelmc: Yeah. I never used it.
[23:01:13] <ionelmc> heh
[23:01:19] <ionelmc> then why do you want it back?
[23:01:36] <msabramo> just joking about how packaging is hard
[23:02:57] <ionelmc> well
[23:03:56] <ionelmc> a serious look at all the useless features is needed
[23:04:37] <ionelmc> and someone to cut em down
[23:07:27] <carljm> msabramo: that shebang line is a sweet idea
[23:25:14] <msabramo> zip DEPRECATED. Zip individual packages.
[23:25:14] <msabramo> unzip DEPRECATED. Unzip individual packages.
[23:25:31] <msabramo> I've been presuming those would be yanked out with pip 7 or something
[23:26:02] <msabramo> there's probably other useless stuff too
[23:26:09] <dstufft> yea
[23:26:11] <dstufft> pip 7
[23:26:19] <dstufft> https://github.com/pypa/pip/blob/develop/pip/commands/zip.py#L116-L120
[23:26:44] <msabramo> cool should I send a PR to remove them?
[23:27:44] <dstufft> dunno if the next release will be 7 or not
[23:27:46] <dstufft> it might be