On Mon, Apr 26, 2010 at 10:10 PM, Piotr Ożarowski <pi...@debian.org> wrote: > [Tarek Ziadé, 2010-04-26] >> Great hints, I'll try to follow them... and they could make a good >> section in the Hitchhiker's guide to packaging ;) > > How about these two: > http://us.pycon.org/media/2010/talkdata/PyCon2010/038/paper.html > http://wiki.debian.org/GettingPackaged
Will check these, thx > >> [...] >> > * ignore FHS (you're using Windows after all); use __file__ whenever >> > you can, >> >> You should be permissive on that one. Until we know how to describe >> resource files properly, >> __file__ is what developer use when they need their projects to be portable.. >> >> Notice that we have started to work on fixing this - >> http://hg.python.org/distutils2/file/tip/docs/design/wiki.rst > > if there's no other way (--install-data is ignored right now, and I know > you're doing a great work to change that, thanks BTW), one could always > use it in *one* place and later import the result in other parts of > the code (instead of using __file__ again) Sounds like a good advice to help packagers changing it, we'll add something about that in the guide. Also if you have some time to read it, your feedback as a packager would be appreciated http://guide.python-distribute.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com