Python and CVS: several modules, one namespace

T

Thomas Weholt

This might be slightly off-topic, but I'll ask anyway:

I want to import several modules into my cvs-repository, but I want them all
to be in the same namespace when they're checked out.

For instance, I got these modules foo1.py, foo2.py, foo3.py in the namespace
bar, called like so :

from bar import foo2, foo3

This matched the folder-structure ../bar/foo2, ../bar/foo3 on the
filesystem. But I need to import them as foo1, foo2 and foo3. When checked
out they should all be available in the same namespace without having to
create the folder, __init__.py first. Is this possible?

When I check out foo1 it creates ../bar/foo1, when I check out foo2 in the
same folder it creates foo2 etc. without messing up the CVS-folders .... (
Hm ... when I look at the whole thing now, it seems impossible )

Any hints or clues on how to manage different modules in the same namespace
when importing them into CVS ??? My main goal is to have one namespace for
all my modules. Please tell me if this doesn't make any sense.

Thanks in advance,
Thomas Weholt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top