duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] #!/usr/bin/python


From: edgar . soldin
Subject: Re: [Duplicity-talk] #!/usr/bin/python
Date: Sun, 25 Oct 2015 21:07:24 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

weird sh*t. actually you already have it correctly in bazaar, but setup.py 
replaces it with the installing python instance.

i do not seem to find a way to disable this "feature". only way i found so far 
is to use setup.cfg as described here
 http://stackoverflow.com/questions/1530702/dont-touch-my-shebang

has somebody a smarter way to circumvent setup replacing our shebang?

..ede

On 25.10.2015 17:53, Kenneth Loafman wrote:
> No problem, go ahead and change it.
> 
> ...Ken
> 
> 
> On Sun, Oct 25, 2015 at 11:20 AM, <address@hidden <mailto:address@hidden>> 
> wrote:
> 
>     hey Ken,
> 
>     any specific reason why we expect python to reside in /usr/bin . just 
> spent 5 hours try to find out why duplicity didn't like to play well with 
> several python versions installed under /usr/local/python-<version> just to 
> find out that the interpreter path is hardcoded after the shebang.
> 
>     would you oppose a more generic
>      #!/usr/bin/env python
>     which would look up python in the current PATH env var?
> 
>     ..ede
> 
>     _______________________________________________
>     Duplicity-talk mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 



reply via email to

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