On Fri, Aug 1, 2014 at 5:15 PM, David Salib <dsa...@fibrenoire.ca> wrote:

> Kurt:
>
> which returned the same environment as the hashbang :
>
> $ which python
> /usr/bin/python
> $ head -n 1 `which fab`
>

head -1 `which fab` saves 2 chars :)

#!/usr/bin/python
>
> Thierry : virtualenv makes it work, thanks. Seems like a kludge to me
> though.
>

Main point is that it isolates packages from system and other envs
Then, you can *nuke* one without changing others

And it works as it should

[master]$ workon py27
[master]$ which python
/Users/thenrio/.virtualenvs/py27/bin/python
(py27) [master]$ head -1 $( which fab )
#!/Users/thenrio/.virtualenvs/py27/bin/python

it's just unix pathâ„¢

Cheers, Thierry
_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to