Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6388966
By: obearn

I develop a python application with multiple subprojects (I am new to python
:) )
Each project declares packages like org.myapp.mysubproject.[...].
If I try to reference a project from another pydev won't let me use a module
from the referenced project and I won't be able to run my current module.
After looking at the PYTHONPATH generated by pyDev I noticed that the sources
from the current project comes before the sources of the referenced project.

Debugging with the python interpreter, I have the following result :
- Adding an egg of the referenced module   OK
- PYTHONPATH with referenced module first OK
- PYTHONPATH with current module first NOK

I would say that the default behaviour is to declare referenced module first
since it works like egg references in the interpreter.

So well, is that really a bug ? 

Yes I come from java, and I can be completely wrong about packages usage in
python ;)

Olivier


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to