Hello,
I am trying to create a snap for armhf platform containing the python module “FMPy”. For armhf platforms, the only way to install FMPY is reported here:
Therefore I am trying to find the way to include FMPy using the “–no-deps” option.
I think I have to “override” the build process, so I defined the yaml file as it follows:
name: snap-fmpy
version: '0.1'
summary: python test
description: |
test FMPy as snap
architectures:
- build-on: armhf
run-on: [armhf]
base: core18
grade: devel
confinement: devmode
apps:
snap-fmpy:
command: usr/bin/python3 $SNAP/bin/snap_fmpy
plugs: [home,network-bind]
parts:
snap-fmpy:
plugin: python
python-version: python3
source: .
build-packages:
[python3-numpy, python3-lxml, python-pathlib, python3-pip]
override-build: |
sudo -H pip3 install --no-deps fmpy
python-packages: [fmpy]
This enables the snap build and the installation of the snap , but there is no binary generation:
Do you know how to build it properly?
Thank you