- $SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install wheel
- $SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install pyang
- $SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install pyangbind
- PATH="$PATH:$SNAPCRAFT_PART_INSTALL/usr/local/bin"
- BRANCH_OR_TAG=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match 2>/dev/null || echo $BRANCH`
- git clone https://osm.etsi.org/gerrit/osm/IM.git
- cd IM/
- git checkout $BRANCH_OR_TAG
- $SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install .
- cd ../ && rm -rf IM/
- $SNAPCRAFT_PART_INSTALL/usr/bin/pip3 install .
- rm -rf .tox