5

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

1 Answer 1

5

I 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>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .