5 # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 # not use this file except in compliance with the License. You may obtain
7 # a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 # License for the specific language governing permissions and limitations
20 summary: A python client for orchestrating OSM
22 A python client for orchestrating Open Source Mano (OSM).
40 PATH: $SNAP/usr/bin:$SNAP/bin/:$PATH:$SNAP/usr/local/bin/:/usr/local/bin/
41 MAGIC: $SNAP/usr/share/file/magic.mgc
48 - requirements-dev.txt
54 - PIP_COMPILE: "false" # disable .pyc generation in pip
55 - PYTHONDONTWRITEBYTECODE: "false" # disable .pyc generation by setup.py
61 - libcurl4-openssl-dev
69 - libcurl4-openssl-dev
72 VERSION=$(git describe --match v* --tags --long --dirty)
73 snapcraftctl set-version $VERSION
75 `find $SNAPCRAFT_PART_INSTALL -name '__pycache__' | xargs rm -r`
76 `find $SNAPCRAFT_PART_INSTALL -name 'RECORD' | xargs rm`