Hey,
In the fiduswriter-snap, I extract the info from the setup.py
file of the main fiduswriter repository using parse-info
in the snapcraft.yaml
file [1].
Recently I have switched to using pyproject.toml
in fiduswriter, which means that I can add additional dependencies to run the setup.py
file [2]. Unfortunately it looks like snapcraft doesn’t pick up on these and adding them to python-packages
of the part doesn’t help either.
I haven’t found the source code for the python plugin, so I don’t really know what is going on in there, but maybe there is a workaround to install those additional packages before attempting to read the setup.py file? (The additional package in my case is babel
.)
I am running on core20
.
[1] https://github.com/fiduswriter/fiduswriter-snap/blob/main/snap/snapcraft.yaml
[2] https://github.com/fiduswriter/fiduswriter/blob/main/setup.py