Ubuntu Pastebin

Paste from SamYaple at Fri, 23 Sep 2016 15:01:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
root@snappy:~/testsnap# cat snapcraft.yaml 
name: my-snap-name # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
  This is my-snap's description. You have a paragraph or two to tell the
  most important story about your snap. Keep it under 100 words though,
  we live in tweetspace and your description wants to look good in the snap
  store.

apps:
  my-snap-name:
    command: python2

parts:
  my-part:
    # See 'snapcraft plugins'
    plugin: python
    python-version: python2
    python-packages: [dogpile.cache==0.5.7]
root@snappy:~/testsnap# snap run my-snap-name
Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dogpile.cache
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named dogpile.cache
Download as text