~chris.macnaughton/mojo/error-output

« back to all changes in this revision

Viewing changes to snap/snapcraft.yaml

  • Committer: Stuart Bishop
  • Date: 2017-06-06 17:36:35 UTC
  • mfrom: (436.1.1 snap)
  • Revision ID: stuart@stuartbishop.net-20170606173635-or0adum8teobk8tl
Ensure snapped Python packages not shadowed by packages on the base system

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
name: mojo
2
 
version: '0.4.5'
 
2
version: 'unset'
3
3
summary: Mojo - Continuous Delivery for Juju
4
4
description: >
5
5
  Mojo is a system of configuration and tools for verifying the success of
9
9
grade: stable
10
10
confinement: classic
11
11
 
 
12
version-script: |
 
13
  pyver=`python2 -c 'import mojo; print(mojo.__version__)'`
 
14
  revid=`bzr revno`
 
15
  echo $pyver+$revid
 
16
 
12
17
apps:
13
18
  mojo:
14
19
    command: bin/mojo
15
20
    environment:
16
21
      PATH: $SNAP/bin:$SNAP/usr/bin:$PATH
17
 
      PYTHONPATH: $SNAP/lib/python2.7/site-packages:$SNAP/usr/lib/python2.7/dist-packages:$PYTHONPATH
 
22
      PYTHONPATH: $SNAP/lib/python2.7/site-packages:$SNAP/usr/lib/python2.7/dist-packages:$PYTHONPATH:/usr/lib/python2.7/dist-packages:$HOME/.local/lib/python2.7/site-packages
18
23
 
19
24
parts:
20
25
  codetree: