[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

shared __init__.py file accross multiple python packages



Hello,

I'm trying to roll up my first debian packages, and I could do with some
advice (please refer me to the right piece of documentation if I appear
to have missed it). 

I'm actually packaging several (8) python modules that are to live in a 
common subdirectory of /usr/lib/pythonX.X/site-packages/. They all share
an empty __init__.py file in this common subdirectory. From what I
understand, this means that if nothing is done, they will conflict. 

What appears to be a standard solution is to have another package
provide the shared files, and make the other modules depend on this new
package. Now, here's the naive question: what's the right way of doing
this? Should I create the common dependency in one of the source
packages, or create a new source package with the required file? Or
something else? 

Thanks for your patience. 
 
Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: