I am creating a snap app and I need to install a python dependency using
pip3 install <lib>
How can I do it using snapcraft?
Thanks
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI found the answer in IRC. You need to use the python3 plugin specifying the dependencies in a list
parts:
py:
plugin: python3
python-packages:
- <my-dependency>