8000 Detect virtualenv using python instead of environment variable by bendavis78 · Pull Request #87 · ekalinin/nodeenv · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect virtualenv using python instead of environment variable #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2014

Conversation

bendavis78
Copy link
Contributor

Currently nodeenv uses $VIRTUAL_ENV to determine the virtualenv path. Python scripts using the venv interpreter (including scripts in <prefix>/bin/) still run under the virtual environment even when $VIRTUAL_ENV isn't set. This fix allows the nodeenv command to be called directly without needing to first activate the virtualenv.

ekalinin added a commit that referenced this pull request Jul 11, 2014
Detect virtualenv using python instead of environment variable
@ekalinin ekalinin merged commit 3b4a934 into ekalinin:master Jul 11, 2014
@ekalinin
Copy link
Owner

Thanks! Patched!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0