HowTo: How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

Simos Xenitellis simos.lists at googlemail.com
Fri Feb 10 16:30:44 UTC 2017


On Tue, Feb 7, 2017 at 3:54 PM, Didier Roche <didrocks at ubuntu.com> wrote:
> Le 07/02/2017 à 14:05, Simos Xenitellis a écrit :
>> On Tue, Feb 7, 2017 at 9:13 AM, Didier Roche <didrocks at ubuntu.com> wrote:
>>> Le 06/02/2017 à 10:56, Simos Xenitellis a écrit :
>>>> Hi All,
>>>>
>>>> I wrote an article about creating a snap for an existing Python
>>>> program using the new snapcraft 2.26. Then, I uploaded to the Ubuntu
>>>> Store.
>>>>
>>>> I am looking forward to receiving feedback :-)
>>>>
>>>> Link: https://blog.simos.info/how-to-create-a-snap-for-a-python-app-with-networking-using-snapcraft-in-ubuntu-16-04/
>>>>
>>>> Link to HN submission: https://news.ycombinator.com/item?id=13578034
>>>>
>>>> Simos
>>>>
>>> Excellent work Simos!
>>>
>>> I think this kind of content would make an excellent official "pratical"
>>> tutorials on https://tutorials.ubuntu.com. Are you interested into
>>> contributing there?
>>>
>>> If you want more context on tutorials, the phisolophy and how to
>>> contribute, I wrote a blog post some time ago about it:
>>> https://insights.ubuntu.com/2017/01/20/tutorials-ubuntu-com-goes-live/.
>>>
>>> I'm also available for any help,
>> Thanks Didier!
>>
>> I had a look at https://github.com/ubuntudesign/tutorials.ubuntu.com/issues
>> and the direction that tutorials.ubuntu.com wants to take. It looks good.
>> It requires planning in terms of the writing of the tutorials so that
>> they are gradually incremental,
>> and some basic tutorials can referenced by the more complex ones. It's
>> a lot of dedicated work.
>>
>> I'll give it a go and try to write a couple of tutorials for
>> tutorials.ubuntu.com. We will see how it goes :-)
>> I think I'll start with the baseline tutorial for snapcraft.
>
> Excellent news!
> You can as well convert some of yours to this format! I give you the
> direct link to the guidelines to have some coherences between the
> tutorials in term of tones and content:
> https://docs.google.com/document/d/1u5qmSNIcE8SjuAg6aKjTxOBGWIjBW0kYf01t4Dfw6-U/edit.
>

I managed to complete the conversion and the tutorial is ready :-).

Here it is,
https://docs.google.com/document/d/1Nk-kw79lt84YJNEKS_WpnGzVSjrmCUVd1TsAx5aRoOA/
Feel free to add to tutorials.ubuntu.com or make a copy in order to edit.

Overall, the experience in converting to the format required by
codelabs was interesting.
I still need more practice before I would be able to write a tutorial
in one go in the codelab style.

Simos




More information about the Snapcraft mailing list