hyperupcall / autoenv

Directory-based environments.
MIT License
5.72k stars 261 forks source link

pip installing also needs source, but documentation does not state it #70

Closed peterlauri closed 8 years ago

peterlauri commented 10 years ago

Installed into my system python using pip, and of course I needed to source the activate.sh file, but this is not mentioned in the README.md. Maybe it would be nice for novice users that it needs to be sourced. Of course, the location depends on where pip installs it. For me, on Mac it is:

/usr/local/bin/activate.sh

matthew-tanner commented 9 years ago

So running "source /usr/local/bin/activate.sh" and then CDing into the folder where the .env file is located should run the file correct? I'm having no such luck on my end even after the source.

peterlauri commented 9 years ago

On my mac with default shell I have in my ~/.bash_profile:

source /usr/local/bin/activate.sh

And it works from me...

mmautner commented 9 years ago

:+1: @MatthewTanner, I'm using pip

The git example ended up working for me--just running the shell script did not activate autoenv and I'm confused.