[Python-Dev] what to do if you don't want your module in Debian

Tarek Ziadé ziade.tarek at gmail.com
Mon Apr 26 22:30:29 CEST 2010


On Mon, Apr 26, 2010 at 10:10 PM, Piotr Ożarowski <piotr at 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


More information about the Python-Dev mailing list