well -- if you discover some other way -- please let me know. Otherwise -- I have been doing exactly that -- cd build and run tests from there and where permits against the installed version under debian/tmp or debian/python-MODULE, e.g.:
http://anonscm.debian.org/gitweb/?p=pkg-exppsy/brian.git;a=blob;f=debian/rules;hb=HEAD#l44 On Tue, 18 Oct 2011, Ole Streicher wrote: > This error comes from the fact, that the nosetest uses the current > directory as the first entry in the path and so tries to read the source > directory (pywcs/...) and not the build-and-not-installed-yet version in > build/lib.linux-x86_64-2.6/ (and ...2.7). Since I assume that it is not > very clean just to include that path (or chdir there before running the > test), I guess there is another solution on how to run nosetest during > package build? -- =------------------------------------------------------------------= Keep in touch www.onerussian.com Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

