Hello, i’m trying to build a new snap app trough snapcraft but I’m having some problems.
Yaml file
This is the content of yaml file, i removed the initial information part (name, version, etc…)
confinement: devmode
grade: stable
base: core18
parts:
ibop:
plugin: python
python-version: python3
source: https://github.com/aleff-github/ibop.git
source-tag: v1.0
python-packages: [requests==2.25.1]
apps:
ibop:
command: /bin/ibop
plugs: [network]
Python Code
In the repository used to upload the source code of the command i created the following files:
- setup.py That consist in the python code of the command
- requirements.txt
Problem
The problem is that when i run the command snapcraft
i have the following error:
Looking in links: /root/parts/ibop/python-packages
Processing /root/parts/ibop/build
Preparing metadata (setup.py) ... done
ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-pe2aksjb
Not all dependencies where satisfied with python-packages or requirements. Resorting to fetching from PyPI.