handling interpreters in *-snapper scripts (or snapcraft)

Leo Arias leo.arias at canonical.com
Tue Aug 18 18:01:32 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2015-06-17 13:46, Barry Warsaw wrote:
> If you use console_scripts in entry_points (which I recommend),
> then setuptools will create the shebang for you when it creates the
> script.
> 
> http://pythonhosted.org/setuptools/setuptools.html?highlight=console_scripts#automatic-script-creation

Snapcraft
> 
seems to be creating the wrong shebang:
https://bugs.launchpad.net/snapcraft/+bug/1486167

I'm not sure how we could make it relative to the install path of the
snap.
- -- 
¡paz y baile!
http://www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJV03L8AAoJEIUvYw0No8DgfaQQAJ6v3ZF++3nfQo4wKC013uhz
XYJpA2Ce7PFbBy5ibQou8sS0X8ovGp7gHf14kHjc0LTlBCt3jPuPBc14tyQBv37O
kB0LlipzXOcDOF/LPz+ZeYyVeAQVHPmvQZxUnj18TCwl7kXi6+h4V6GN06qQU+Lv
AjHGoz91jBFbP8tV5ILP0WbvcOOAz+97PflUwKaZFOl7PzDsR0sC75lVofTJv7Cv
+/C8NtS8flSVdarBUD9QEiFktJKwu3ozh3IDc0hsv32iAS4fdCMZNmP6ITz5NJD9
MuyC+l7SdigE8CgwXn+3taxu1nKSkwX+64cdwaMhX9qqucPVB6IyZLF8Cn3V/Ih/
W9OFRJhXXZqAZmJbLn7oduZRyT2g1dTImdoKbM9xsQlKkz7wHotY9PKwuaE6IEFA
BkpbYOHY54KTbP+WmVycazvjbrE6VlKnz3Se4Cezg2YokP9NGUBqWeJgLXbxfobr
38IsALuqnh9U1986pW3dumEV9MKyhP7Xuvlf6RGFGLhCRzBnM2Ah3OyoOkhYXLz0
lY4knvEeq/i/2Oc57kAr/PY0Fbp7RFgT6ZdpkxkF1IbnpQkuyCSKhEbquL+J4MZo
vKQubxvs6CjZ/pek4N7/rhdp2F0mN7otle/I8djAUPXxdSrwwlR6OZaeeC7gc8OY
ypnscCh4tGCswAP4NqXW
=fZ3O
-----END PGP SIGNATURE-----



More information about the snappy-devel mailing list