Setting $PATH per-project for a virtualenv?
Hi,
I'm setting PyCharm to use the /bin/python interpreter for my virtualenv, and that works fine, I get all the right imports. However, I can't see how to get PyCharm to use the virtualenv's /bin/ directory in general.
For example, I have a pre-commit hook that trys to run pep8, so when I try to commit code from pyflakes that fails because it doesn't have the right $PATH (pep8 is in my virtualenv).
How can I get PyCharm to use a particular $PATH for all commands in a particular project?
Thanks
Please sign in to leave a comment.
Why do the tools not execute in the context of the associated virtualenv ? :)
Maybe we could at least have a macro with the path to the /script and /bin directory ?