~mojo-maintainers/mojo/trunk

« back to all changes in this revision

Viewing changes to snap/snapcraft.yaml

  • Committer: mergebot at canonical
  • Author(s): "Colin Watson"
  • Date: 2022-02-15 08:16:40 UTC
  • mfrom: (594.2.1 fix-snap-build)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20220215081640-rglq7vpaybdg8358
Fix installation of cryptography in snap build

Reviewed-on: https://code.launchpad.net/~cjwatson/mojo/fix-snap-build/+merge/415547
Reviewed-by: Tom Haddon <tom.haddon@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
      chmod +x clone_bzr.sh && ./clone_bzr.sh
50
50
      # Comment out the codetree dependency in setup.py to avoid having pip try to install it
51
51
      sed -i 's/^\(\s\+\)\([^\s]python-codetree.\+\)$/\1# \2/g' "$SNAPCRAFT_PART_BUILD/setup.py"
 
52
      python3.6 -m pip install 'pip>=19.1.1' 'setuptools>=40.8.0'
52
53
      snapcraftctl build
53
54
      python3.6 -m pip install ./src/python-codetree
54
55
      MOJO_PYVERSION=$(python3.6 -c 'import mojo; print(mojo.__version__)')