Re: Parallel package hierarchies/directories

2009-01-16 Thread atleta
OK, I'm answering my own question, it might be of some help for someone in the future: yes, it's possible to have parts of the same package in multiple directories, it's just not enabled by default. To make it work each such package should have the following code in their __init__.py: from pkgutil

Parallel package hierarchies/directories

2009-01-15 Thread atleta
Hi, I'd need a logical way to organize my unit tests into packages, but I don't know how to do it in python. I'd like to separate my test sources (modules) from the code. The problem is that it seems that python does not allow a package to spread through multiple directories. I'd like to have th