handling interpreters in *-snapper scripts (or snapcraft)

Didier Roche didrocks at ubuntu.com
Mon Jun 15 12:57:12 UTC 2015


Le 15/06/2015 14:54, Oliver Grawert a écrit :
> hi,
>
> Am Montag, den 15.06.2015, 08:47 -0400 schrieb Michael Terry:
>> Why not instead of a runtime solution, you just have py-snapper go
>> through and adjust all shebangs right before creating the snap?
>> -mt
> this was my fallback idea ... but also the ugliest of all solutions (and
> possibly error prone)

That would solve, 90%+ of the existing issues, I agree. If we only focus 
on those, that makes sense.

However, I can clearly see some apps doing some kind of:
subprocess.call(["/usr/bin/python", "foo"])
Should we care of those use cases? That's the real question I guess…

Didier




More information about the snappy-devel mailing list