snapping a set of python2 scripts from launchpad

John Agosta john.agosta at canonical.com
Wed Jun 15 18:09:55 UTC 2016


Hi:

I suspect this should be strait forward, but have been fumbling with 
this ... I have a set of python2 scripts sitting in a launchpad.net bzr 
branch that I am trying to snap up using snapcraft. These are 
essentially just a set of files (scripts) that have never been placed 
into any formal packaging structure.

I can correctly build the python part using the structure:

parts:
     lptools:
         plugin: python2
         source: lp:~jagosta/my-program/lp_tools

Where I am stuck is with defining the apps:, thus creating the commands 
that I would like to be placed into the bin/ directory of the snap.

thanks,

-- 
John Agosta




More information about the Snapcraft mailing list