On Dec 16, 2012, at 11:06 PM, Craig Treleaven wrote:
> I was just curious why a lot of the Python scripts I've run across use the
> env trick. Sounds like it was a workaround as the path to the python
> executable was unpredictable on some systems.
A couple of possibilities come to mind.
(A
At 9:41 PM -0600 12/16/12, Ryan Schmidt wrote:
On Dec 16, 2012, at 14:49, Craig Treleaven wrote:
At 12:10 AM +1100 12/17/12, Joshua Root wrote:
On 2012-12-16 19:46 , vincent habchi wrote:
Some scripts of a port I'm trying to set up use #!/usr/bin/env
python, which seem to always poi
On Dec 16, 2012, at 14:49, Craig Treleaven wrote:
> At 12:10 AM +1100 12/17/12, Joshua Root wrote:
>> On 2012-12-16 19:46 , vincent habchi wrote:
>>> Some scripts of a port I'm trying to set up use #!/usr/bin/env python,
>>> which seem to always point to A
On 2012-12-17 07:49 , Craig Treleaven wrote:
> At 12:10 AM +1100 12/17/12, Joshua Root wrote:
>> On 2012-12-16 19:46 , vincent habchi wrote:
>>> Folks,
>>>
>>> Some scripts of a port I'm trying to set up use #!/usr/bin/env
>>> python, w
At 12:10 AM +1100 12/17/12, Joshua Root wrote:
On 2012-12-16 19:46 , vincent habchi wrote:
Folks,
Some scripts of a port I'm trying to set up use #!/usr/bin/env
python, which seem to always point to Apple's python. Which
environment variable have I to change so that 'env
Josh,
>> Some scripts of a port I’m trying to set up use #!/usr/bin/env python, which
>> seem to always point to Apple’s python. Which environment variable have I to
>> change so that ‘env’ will return a MacPorts python instead?
> The reason /usr/bin/env is used in the sheb
On 2012-12-16 19:46 , vincent habchi wrote:
> Folks,
>
> Some scripts of a port I’m trying to set up use #!/usr/bin/env python, which
> seem to always point to Apple’s python. Which environment variable have I to
> change so that ‘env’ will return a MacPorts python instea
Folks,
Some scripts of a port I’m trying to set up use #!/usr/bin/env python, which
seem to always point to Apple’s python. Which environment variable have I to
change so that ‘env’ will return a MacPorts python instead?
Thanks,
Vincent
___
macports