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:
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
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
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
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
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 something?
>> Hey Robert,
>>
>> There is no plu
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 something?
> Hey Robert,
>
> There is no plug to read from /etc on purpose. The goal is your snap
Le 02/10/2016 à 20:48, Robert Park a écrit :
> On Sun, Oct 2, 2016 at 1:43 AM, Loïc Minier wrote:
>> So just create a matplotlibrc in your $SNAP and you should be good
> Thanks for this analysis. I created an empty matplotlibrc in $PWD and
> then got this instead:
>
> PermissionError: [Errno 13] P
On Sun, Oct 2, 2016 at 1:43 AM, Loïc Minier wrote:
> So just create a matplotlibrc in your $SNAP and you should be good
Thanks for this analysis. I created an empty matplotlibrc in $PWD and
then got this instead:
PermissionError: [Errno 13] Permission denied:
'/home/robru/src/weight/matplotlibrc
Hi,
Right; matplotlib expects matplotlibrc to be installed. Looking at
matplotlib/__init__.py,
you can see rc_params() calls matplotlib_fname() to get the default config
filename.
The search order there is:
- `$PWD/matplotlibrc`
- `$MATPLOTLIBRC/matplotlibrc`
- `$MPLCONFIGDIR/matpl
Hi all!
Back again with a second attempt, this time I'm not trying to modify
the host system so I'm hoping this should be a lot easier/possible!
Here's my snapcraft.yaml:
https://git.launchpad.net/~robru/+git/weightloss/tree/snapcraft.yaml
Pretty simple little flask webapp, just does some data
11 matches
Mail list logo