fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] fabric on os x


From: thierry henrio
Subject: Re: [Fab-user] fabric on os x
Date: Fri, 1 Aug 2014 22:27:15 +0200




On Fri, Aug 1, 2014 at 5:15 PM, David Salib <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]