PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Saturday the 24th of January, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[22:39:34] <usinganalias> I’ve included a MANIFEST.in with the single line “recursive-include graphics *.txt” and I have include_package_data=True in my setup.py. Nonetheless, when I run python setup.py install, none of the text files in the graphics folder copy over! What might I be doing wrong?
[22:40:27] <aclark> usinganalias: can we see?
[22:41:03] <usinganalias> Sure! aclark - is there a best way to pastebin a folder of code?
[22:41:36] <aclark> usinganalias: nah, preferably check it in to github or something
[22:42:30] <aclark> usinganalias: but ill settle for a paste of setup.py
[22:43:26] <usinganalias> Thanks aclark - getting it pushed to GitHub right now ;)
[22:43:32] <aclark> cool
[22:44:43] <usinganalias> https://github.com/useanalias/namikan
[22:44:59] <usinganalias> You’ll have to forgive me for some amateur programming :)
[22:46:59] <aclark> usinganalias: np, I'm not the code police :-)
[22:47:14] <aclark> usinganalias: i would consider moving graphics inside the package or making graphics a package
[22:48:10] <aclark> (where "namikan" is the package defined in setup.py)
[22:48:21] <usinganalias> Awesome - I’ll do that. So then, would I change my manifest to “recursive-include namikan/graphics *.txt”
[22:48:55] <aclark> recursive-include namikan *.txt
[22:49:16] <aclark> *might* work :-)
[22:50:02] <usinganalias> Awesome - that copied everything into the site-packages folder!
[22:50:12] <usinganalias> Python still doesn’t recognize that the files are there, though…
[22:50:28] <usinganalias> Oh - nvm, made a filename change - it works! Thanks aclark!
[22:50:46] <aclark> usinganalias: great! np
[22:51:21] <usinganalias> Is there a way to remove all the “dist” and “build” folders from a folder using setup.py? (something like pyton setup.py clean?)
[22:51:23] <usinganalias> *python
[22:51:53] <dstufft> python setup.py clean
[22:52:03] <aclark> heh
[22:52:20] <usinganalias> I’ve tried that, and the folders remain there...
[22:52:48] <aclark> usinganalias: dunno, make a makefile or something
[22:58:23] <usinganalias> thanks!