Python app package data in Debian

Joel Roth joelz at pobox.com
Sun Jan 15 02:26:37 UTC 2012


Hi all,

I'm working on packaging Musical Midi Accompaniment (MMA)
for Debian, currently in the Debian Multimedia applications
repository. 

I've been strongly urged to install it using distutils.

MMA contains some data files along with the packages.

In Pythonland, it seems kosher to install that
data with the packages, e.g. using package_data 
keyword in the call to setup(). 

Working that way is convenient, as it solves the issue of
choosing/accessing appropriate directories under other
platforms such as Windows and OS X.

What I'm wondering is if this will be a problem 
WRT Debian Policy.

In practical terms it would mean installing some data files
under /lib/user/python2.x/mma/

Since Debian users are accustomed to find
some package data files under /usr/share/mma
I'm wondering if it is kosher to let /usr/share/mma
be a link to /lib/user/python2.x/mma/resources.

Thanks for your attention.

-- 
Joel Roth



More information about the pkg-multimedia-maintainers mailing list