[10:40:01] <nanonyme> I don't get it. I'm running the exact same commands on a Linux with the exact same setuptools version and *older* Python2.6 and it works
[10:42:59] <nanonyme> Is this manifest.in handling part of distutil or setuptools?
[10:51:29] <nanonyme> I just did "python setup.py egg_info --tag-build=$dev_tag sdist --formats=zip|grep json", it still lists the json file on the Linux I tested it on
[10:51:44] <nanonyme> Even with only manifest.in, no MANIFEST.in
[10:51:54] <nanonyme> There's no MANIFEST or manifest file in workspace for the CI job
[10:52:23] <ionelmc> why do you even make it lowercase :)
[10:53:09] <nanonyme> No special reason but fixing it requires commit+PR+having it accepted. I want to first verify there's any significance with the casing before changing it
[10:56:09] <nanonyme> mgedmin, it's complaining about lack of version control data here
[10:57:20] <nanonyme> Ah, well, I guess I can always use it on my production machine, it has the full repo
[10:58:51] <mgedmin> note: setuptools will include a file if one of three things is true:
[10:58:55] <mgedmin> (1) MANIFEST.in tells it to include
[10:59:24] <mgedmin> (2) it's in version control and setuptools recognizes it or has a plugin to recognize it (this tends to break)
[10:59:37] <mgedmin> (3) there's an old .egg-info directory with a manifest inside that includes it
[11:00:04] <mgedmin> so if you rename MANIFEST.in to manifest.in and try again, rule 3 will ensure that nothing changes
[11:00:15] <ionelmc> and that's why you rm -rf that goddamn egg-info every time
[11:00:36] <mgedmin> (that's why check-manifest builds in a clean checkout under /tmp every time)
[11:00:41] <ionelmc> got burned by that so many times
[11:01:03] <mgedmin> fun times! svn used to change the working tree data formats annually, and setuptools would fail to understand them, breaking rule (2)
[11:01:19] <mgedmin> rule (3) meant you wouldn't notice anything strange until you added a new file
[11:01:49] <nanonyme> mgedmin, no .egg-info under directory tree
[11:02:09] <mgedmin> once I worked on a project where the testing pipeline rsynced a (dirty) source checkout, then find + rm -rf'ed all .svn subdirs
[11:02:16] <mgedmin> breaking (2) but keeping (3) from stale *.egg-info
[11:02:40] <mgedmin> so my iron rule now is: always rely on MANIFEST.in being correct
[11:04:32] <ionelmc> mgedmin: have you ever thought about making a "packaging" linter?
[11:04:42] <ionelmc> something like check-manifest but with more inspections
[20:20:37] <fury_> In order for pip to build something on my system that requires a C++ compiler, I need to add -I/usr/local/include to the cc arguments. how can I do that?
[20:23:46] <ionelmc> fun times, if you install wdk then ucrt includepaths will be all wrong (they have abug https://connect.microsoft.com/VisualStudio/feedback/details/1610302/universalcrt-detection-breaks-when-windows-driver-kit-is-installed _
[20:24:05] <ionelmc> this means you can't compile c exts on 3.5 if you install wdk
[20:24:19] <ionelmc> and appveyor did install it :(