PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Saturday the 14th of November, 2015

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[15:01:01] <Ivoz> yo jaraco do you know how having setup.cfg with `[metadata]\ndescription-file = README.md` works? A) I thought [metadata] in setup.cfg was a distutils2 featuree, and B) how it can render a md file
[15:01:42] <Ivoz> going off the claim under 'setup.cfg' in http://peterdowns.com/posts/first-time-with-pypi.html
[15:05:03] <jaraco> Ivoz: I wouldn’t expect that to work.
[15:05:14] <jaraco> It might be a pbr feature.
[15:06:22] <Ivoz> yeah he wasn't using pbr tho
[15:06:25] <jaraco> hmm. Neither setuptools nor pbr are indicated in that reference.
[15:09:53] <Ivoz> Either that or he's written that blog post without checking it works, and it doesn't
[15:10:15] <Ivoz> the 'reading markdown successfully' functionality, anyway
[15:10:20] <Ivoz> as he has a .md file there
[15:10:31] <jaraco> That’s surely possible. It’s also possible that file gets read by PyPI directly, bypassing the packaging tools.
[15:10:55] <Ivoz> I'd be interested in what reads setup.cfg [metadata] to use it, though
[15:11:41] <Ivoz> dstufft, do you know? I know pbr does, but there's a blogpost claiming you can use description-file key without pbr
[15:13:10] <dstufft> d2to1 does it too I think
[15:13:16] <dstufft> other than that, no idea
[15:13:31] <Ivoz> maybe some bit of code made it into setuptools from distribute...
[15:13:36] <dstufft> PyPI does look for a README(.*) file
[15:13:46] <dstufft> if long_description is empty
[15:13:49] <jaraco> The text ‘metadata’ doesn’t appear in the setuptools source.
[15:14:34] <Ivoz> there are quite a few google references to description-file
[15:14:36] <jaraco> A lot of code made it from distribute. Only a couple of things were omitted.
[15:14:52] <Ivoz> I haven't really heard of it being used before tho :S
[16:04:40] <Ivoz> I'm starting to suspect this guy had pbr installed and didn't know it or something
[16:04:46] <Ivoz> stuff doesn't seem to work at all T_T
[16:05:38] <jaraco> hmm. My bet would have been on PyPI just grabbing README.md for lack of a long_description.
[16:05:48] <jaraco> And setup.cfg could have been omitted altogether.
[16:07:51] <Ivoz> yay for writing blog posts without checking they work.
[16:08:35] <Ivoz> yeah it seems description-file was in distutils2 but never made it into setuptools or python
[16:08:59] <Ivoz> also noticed now distutils is managing to write metadata 1.1 while setuptools can only write metadata 1.2 :(
[16:09:17] <Ivoz> ** setuptools can only write metadata 1.0
[16:16:48] <jaraco> hmm.
[16:17:03] <jaraco> Sounds like a pull request waiting to happen ;)
[16:17:12] <Ivoz> yaaaaaa
[16:22:04] <jaraco> also, I know i’m behind reviewing outstanding PRs.
[20:20:56] <Ivoz> dstufft, apple done anything for rando python packages on el capitan yet?