[wingide-users] Relative paths in custom PYTHONPATH don't work with
shlomme at gmx.net
Sat Sep 20 13:41:15 MDT 2008
when setting relative paths in the project PYTHONPATH, my nose tests do
not find the project packages any more.
My project layout is as follows:
PKG/ # the main package
util/ # sub-packages
util/ # tests for classes in PKG.util
When I try to run test_stuff.py, I get ImportErrors trying to import
The relative paths work for the main debug file.
I know that I can use absolute paths in the PYTHONPATH setting (which
works), but I don't like that, simply because I cannot freely move
around the project. This is especially problematic because I use
Mercurial and would like to branch my repository much more often than I
.: Torsten Marek
.: torsten at diotavelli.net -- GnuPG: 1024D/A244C858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : /pipermail/wingide-users/attachments/20080920/4b3a7a92/attachment.bin
More information about the wingide-users