[sugar] setup.py #!/usr/bin/env python

Pádraig Brady P
Tue Jun 5 15:07:31 EDT 2007


Simon Schamijer wrote:
> Hi,
> 
> I think the #!/usr/bin/python in setup.py in some of the activities 
> should be changed to use #!/usr/bin/env python. Otherwise the right 
> environment which is set to sugar shell will not be used - correct me if 
> i am wrong.
> I had this problem in memosono and saw it at least in the write activity 
> as well.

Just a point to note about that, is that
if you use /usr/bin/env, the process name
in the process list will be "python" rather
than the name of the executable.

cheers,
P?draig.




More information about the Sugar-devel mailing list