project root detection flawed

Issue #2 new
Jason Pellerin
created an issue

Related to issue 1 -- project root detection depends on the test runner being 2 dirs deep (eco/bin/test or eggs/bin/test):

{{{ (where (expand-file-name "../.." (file-name-directory nose))) }}}

It might be better to do another backwards search from the target file, looking for any one of, setup.cfg, or .noseids. Then if none of those is found, either fall back on the dir containing the target file, or if target file is in a package, back up to the package root.

Comments (1)

  1. Log in to comment