[Python-Dev] what to do if you don't want your module in Debian
Piotr Ożarowski
piotr at debian.org
Mon Apr 26 22:10:21 CEST 2010
[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
> [...]
> > * 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)
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100426/9f57deb2/attachment.pgp>
More information about the Python-Dev
mailing list