-
Notifications
You must be signed in to change notification settings - Fork 1
Moderate changes and improvements; please review and, if appropriate, merge. #2
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
base: master
Are you sure you want to change the base?
Conversation
Differences in behavior from upstream version: * Both the values, **and the set/unset** status, of all environmental variables will be preserved and restored properly on deactivating the virtualenv. * Also corrected an incorrect comment.
ppdevel branch has individual commits; also, tested / working as of now. |
** To enable for a given virtualenv, touch $VIRTUAL_ENV/.npm ** TODO: Update docs. |
Thanks for the PR. |
Yeah, so, the way I use it is, if you install node modules normally, Since I'm setting NPM_HOME=$VIRTUAL_ENV, when you do a global install, |
basically some things expect (grunt, I think, was the one) to not be Thanks, On Mon, Jan 20, 2014 at 7:21 PM, Rach Belaid [email protected]:
|
Hrm... this never made it in, eh? If you are interested in these changes still, I can clean them up and get them current for the current version of the software. Just let me know :) |
I think I'm fine now with doing what you suggested, and having global install be the default once inside a project, and put node_module's bin/ on the $PATH. Or I could just make it configurable. I don't like the way the software currently effects all of my virtualenvwrapper projects, though, and would love to get my per-project .npm / .gem support into your mainline :) |
Hi Sorry, I had completely forgot about this PR. I'll have a look tonight. |
I release my changes under the same permissive license as specified in the LICENSE file, and you may feel free to incorporate them while attributing the copyright to yourself.
JSYK, I am also looking at generalizing this, to support a .env file or .env/ directory inside $VIRTUAL_ENV/. If I do that and you don't otherwise object, I will attribute the copyright on that project to myself, and list your two projects as inspiration. This is in case I want to standardize on releasing my projects under a different permissive license.
Feel free to shoot me an email,
-Paul Prince [email protected]