472,353 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Python and CVS: several modules, one namespace

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
Jul 18 '05 #1
0 968

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.