no virtualenv support

Issue #5 resolved
Erik Allik created an issue

There doesn't seem to be a way to tell nose.el to use a specify nosetests command per project or smth. Rules out any convenient use of nose.el within a project with a virtualenv as the tests simply fail due to failed imports.

Comments (3)

  1. Erik Allik reporter

    Actually nvm, it's possible to use a `.dir-globals.el` file in the project root with the following content:

    ((nil . ((nose-global-name . "path/to/venv/bin/nosetests"))))
  2. Augie Fackler repo owner

    (add-to-list 'nose-project-names "path/to/venv/bin/nosetests")

    Assuming path/to/venv is the relative path to the virtualenv within your project root.

  3. Log in to comment