[Éric Araujo, 2011-08-23]
> Le 22/08/2011 12:43, Piotr Ożarowski a écrit :
> > FormAlchemy (as way too many other Python modules) adds data files
> > (images, templates, locales, etc.) to site-packages directory, we try to
> > move them to the right location whenever possible,
>
> Could you point me to more info about this? I haven’t read all of the
> Debian Policy yet, just the FHS and the Debian Python Policy
How about distutils' --install-data? Providing such option and later
ignoring users who want to change the default value is not nice (yeah,
I know it's hard to support it as the directory is not recorded
anywhere, "packaging" module should make it easier, though).
Anyway, we keep translations in /usr/share/locale/ and that's where Debian
administrators expect them to be. We keep other shareable files in
/usr/share and so on. Dealing with all these symlinks is also messy if
you support more than one Python version.
(see I didn't even mention ugly __file__¹ or pkg_resources... ups ;)
> (which
> states things without giving rationale, unfortunately), so I’d
please file bugs against python package, without them chances that it
will be improved are low...
[¹] http://lists.debian.org/debian-python/2010/01/msg00172.html
Archive: [🔎] 20110823093236.GT16705@piotro.eu" target="_blank">http://lists.debian.org/[🔎] 20110823093236.GT16705@piotro.eu