[11:04:32] <Bhai> Can anyone invite me to channel pip?
[14:32:16] <doismellburning> re my earlier question about rst syntax/style checker, I found doc8
[14:32:53] <doismellburning> which isn't ideal (it hasn't explained why https://github.com/doismellburning/django12factor/pull/19/files#diff-88b99bb28683bd5b7e3a204826ead112R144 doesn't render) but beats the nothing that I had previously
[17:41:35] <matham> hi guys. I'm running into a issue where we when running install we generate a .py file in one of the packages but pip does not install it
[17:42:37] <matham> i.e. I can see the file generated in the temp dir, but it doesn't get copied over. When I added a empty version of the file to the src, pip installed the empty file, even though it's overwritten in the temp dir
[17:52:34] <ionelmc> matham: your setup.py generates it or?
[18:25:58] <ionelmc> assuming it's data file and not included in py_modules or packages
[18:29:14] <matham> ionelmc, the file is not explicitly included, but the package undr which the file is is included using packages=[...]
[18:29:39] <matham> also, I actually did add the file explicitly in the package_data
[18:30:40] <matham> what I don't understand, when I added the blank file and it gets overwritten by the gernerated file, where does pip get the blank file again?
[18:31:00] <matham> I did not see another place in temp where it could get stored
[18:32:51] <ionelmc> matham: ok maybe show how you write the file?
[18:33:02] <ionelmc> it's not clear to me what's going on
[18:45:16] <matham> ok, but you'd need to use the one from master (https://github.com/kivy/kivy/archive/master.zip) because the one from pip is an older version which doesn;t use it
[18:45:39] <ionelmc> matham: ok, so i've built a wheel, it has a setupconfig.py in it
[18:46:21] <matham> I do pip install https://github.com/kivy/kivy/archive/master.zip
[18:48:01] <matham> here's a log btw of such an install: https://github.com/kivy/kivy/issues/2850
[18:49:24] <ionelmc> matham: ok, so it's there on linux
[18:49:33] <ionelmc> how do you get the libs on windows?
[18:50:16] <matham> get the zip from: http://kivy.org/#download
[18:54:14] <matham> haha, I see it when I browse to the temp dir during the pip install
[18:55:25] <matham> e.g. pip says: Running setup.py (path:c:\users\cpl\appdata\local\temp\pip-vxujfo-build\setup.py, I can then see the stupconfig.py file in c:\users\cpl\appdata\local\temp\pip-vxujfo-build\kivy
[18:56:04] <matham> is there somewhere a detailed log of all the files pip copies during a install?
[18:56:07] <ionelmc> matham: but is it in your site-packages?
[19:14:07] <matham> ionelmc, I finally get what you mean with the build dir. I can see that we generate setupconfig it's generated in c:\users\matthe~1\appdata\local\temp\pip-nskscp-build\kivy\ but it should be generated to build\lib.win32-2.7\kivy
[19:14:21] <matham> I see the log item "copying kivy\setupconfig.py -> build\lib.win32-2.7\kivy"
[19:18:05] <matham> so like you said initially we need to set the expand path to point to the build dir
[19:22:35] <matham> ok, will try. Here's the full log btw: https://dpaste.de/yCXp
[23:01:30] <matham> ionelmc, so I tried setting bdist and bdist_egg in cmdclass to point to an inherited class from bdist and bdist_egg, respecitvely, but when I just do pip install they never get created. I think it's all done internally in pip
[23:06:54] <ionelmc> matham: eg: try to print to sys.__stderr__ instead
[23:08:23] <matham> _habnabit, here it is again: https://dpaste.de/5EFb
[23:09:05] <matham> ionelmc, that's why I put the raise so that it'd raise an error, but I'll try it again with bdist, not bdist_egg
[23:15:05] <matham> ionelmc, here's another try with bdist https://dpaste.de/hMFv but error is not raised or anything printed. I;m letting it finish installing just to be sure, though
[23:16:06] <matham> I guess that means I have to hook pip to find the build path so I can generate the file in the correct location?