[Distutils] modules in different folders but under same namespace

Robert Kern robert.kern at gmail.com
Thu Feb 4 18:28:06 CET 2010


On 2010-02-04 11:24 AM, Tarek Ziadé wrote:

> Not sure why you want to remove the __init__.py files in sub and share
> in your solution though.

It prevents accidentally importing both package.src.mod1 and package.mod1 and 
helps readers of the code understand that only package.mod1 is correct.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco



More information about the Distutils-SIG mailing list