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

Re: shared __init__.py file accross multiple python packages



On Fri, Apr 12, 2002 at 03:16:46PM +0200, Alexandre wrote:
> 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? 

  Are the modules you're packaging part of the same source or are 
  they independant ?

-- 
Jérôme Marant


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



Reply to: