PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 8th of January, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[04:42:10] <duckinator> I'm trying to include arbitrary files in a package only using setup.cfg (no setup.py). I know in setup.py, I'd use package_data = {'package_name': ['*.kv', '*.toml']} -- but what's the equivalent in setup.cfg? i can't seem to find any documentation on it.
[04:42:55] <duckinator> and my various attempts at guessing the format have just caused ConfigParser to give me a 50+ line stack trace when i do `pip3 install .`, so clearly they're not right lol
[04:46:32] <toad_polo> duckinator: https://github.com/dateutil/dateutil/blob/110a09b4ad46fb87ae858a14bfb5a6b92557b01d/setup.cfg#L44
[04:47:18] <toad_polo> A PR to add an example to the documentation would probably be welcome.
[04:51:01] <duckinator> toad_polo: ah, thanks, that works!
[04:51:36] <duckinator> and after looking at your example, i went to the setuptools docs and... immediately saw an example ( https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files ), heh. it's just that Google and DuckDuckGo seem to surface pretty much everything _except_ the official documentation, for some reason.
[04:52:24] <duckinator> so i guess the lesson here is to look at the setuptools docs before using a search engine, for setup.cfg stuff. ^^'
[17:14:39] <pombreda> Anyone knows what's happening with https://pyup.io/ ?