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