Re: My second snap ;-)

2016-10-04 Thread Robert Park
And, if you're *so crazy* that you decide you want a snap that doesn't contain tkinter, you can do this in your snapcraft.yaml: parts: myapp: plugin: dump source: . stage-packages: - python3-matplotlib - python3-numpy organize:

Re: My second snap ;-)

2016-10-04 Thread Mark Shuttleworth
On 04/10/16 18:44, Robert Park wrote: > Thanks again Loic, I was finally able to achieve a snapped matplotlib > (well, the current traceback I'm seeing is at least from my own app so > I can iterate on that, matplotlib seems happy enough at least). \o/ now the fun part starts when you get to push

Re: My second snap ;-)

2016-10-04 Thread Robert Park
Thanks again Loic, I was finally able to achieve a snapped matplotlib (well, the current traceback I'm seeing is at least from my own app so I can iterate on that, matplotlib seems happy enough at least). The trick is that you can't just set $MATPLOTLIBDATA to any old dir because matplotlib expect

Re: snapping a python2 application that uses a makefile

2016-10-04 Thread Leo Arias
Hello Michael, On Wed, Sep 28, 2016 at 5:42 PM, Michael Foley wrote: > > I've started working on a few snaps last month and worked out how to > build an initial snap of the gpodder podcast client. However in order > to get it to build I had to do a few manual steps during the build > step. This

Snap Format Technical Oversight Board

2016-10-04 Thread Jamie Bennett
The snap format is a compressed filesystem with a single metadata file describing the security profile and desired integration of the snap. That format is shared by everyone in the snap community, regardless of their choice of store, authentication systems, licensing or host Linux distribution. In

Re: Learning to snap with codelabs

2016-10-04 Thread Alan Pope
That's correct. There was a problem with the armhf build which is being worked on. Cheers, Al. On 4 October 2016 at 17:50, Julia Palandri wrote: > Hi Daniel! > > Could it be that the snap is not available for all architectures? I couldn't > find it available to install in the ubuntu core rpi2 st

Re: Learning to snap with codelabs

2016-10-04 Thread Julia Palandri
Hi Daniel! Could it be that the snap is not available for all architectures? I couldn't find it available to install in the ubuntu core rpi2 store. Thanks! On Tue, Sep 27, 2016 at 4:34 PM, Daniel Holbach < daniel.holb...@canonical.com> wrote: > Hello everybody, > > learning something new, espec

Re: How to tell dump plugin to only copy a specific file

2016-10-04 Thread Leo Arias
On Tue, Oct 4, 2016 at 3:08 AM, Gustavo Niemeyer < gustavo.nieme...@canonical.com> wrote: > > As a trivial hint, the "snap" list doesn't need to duplicate the content > of "stage". It needs to be there only if what is in stage needs to be > tweaked further. > I think that's https://bugs.launchpad.

Re: My second snap ;-)

2016-10-04 Thread Mark Shuttleworth
Giving you your own /etc would enable you to do whatever you want in it, but it would by definition also mean that any files you see there don't reflect any OTHER apps understanding. So /etc/resolv.conf for example would be meaningless, because yours might be different to that on the snap next doo

Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-04 Thread Sergio Schvezov
El 03/10/16 a las 23:59, Marco Ceppi escribió: On Mon, Oct 3, 2016 at 9:41 PM Sergio Schvezov mailto:sergio.schve...@canonical.com>> wrote: El 03/10/16 a las 21:17, Marco Ceppi escribió: On Mon, Oct 3, 2016 at 6:51 PM Sergio Schvezov mailto:sergio.schve...@canonical.com>> wrot

Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-04 Thread Wes Mason
On Tue, 4 Oct 2016 at 04:00 Marco Ceppi wrote: > On Mon, Oct 3, 2016 at 9:41 PM Sergio Schvezov < > sergio.schve...@canonical.com> wrote: > > El 03/10/16 a las 21:17, Marco Ceppi escribió: > > On Mon, Oct 3, 2016 at 6:51 PM Sergio Schvezov < > sergio.schve...@canonical.com> wrote: > > > > El 03/1

Re: My second snap ;-)

2016-10-04 Thread Sergio Schvezov
El 04/10/16 a las 03:10, Didier Roche escribió: Le 03/10/2016 à 20:51, Robert Park a écrit : On Sun, Oct 2, 2016 at 11:20 PM, Didier Roche wrote: Le 02/10/2016 à 20:48, Robert Park a écrit : Is there a plug to just read /etc? or a sensible way to set all those env vars to /dev/null or somethi

Re: How to tell dump plugin to only copy a specific file

2016-10-04 Thread Gustavo Niemeyer
Hello, On Tue, Oct 4, 2016 at 5:43 AM, Jacek Nykis wrote: > > Is there an example on how a filesets line may look like, a grep on the > > playpen repository does not seem to match filesets ? > > https://git.launchpad.net/prometheus-snap/tree/snapcraft.yaml Thanks for helping out. As a trivial

Re: How to tell dump plugin to only copy a specific file

2016-10-04 Thread Jacek Nykis
On 03/10/16 23:59, Omer Akram wrote: > On Tue, Oct 4, 2016 at 3:53 AM, Sergio Schvezov < > sergio.schve...@canonical.com> wrote: > >> >> >> El 03/10/16 a las 19:45, Omer Akram escribió: >> >>> Hi! >>> >>> I have a very simple python application with a library part and a >>> launcher. The library i