Python Auto Dependencies

Ludovico aasonykk at gmail.com
Fri Oct 13 10:42:58 UTC 2017


I made this script in order to automatically generate the flatpak
"module" json with the required dependencies for a given Python pypi
package.

Why should I use it?
If you are creating a flatpak manifest and your application requires
some Python pypi packages, you also need to manually check all the
dependencies of your dependencies and so on.
This script will do the work for you!

How to
Execute the script and pass as arguments your dependencies
For example:

$ python3 flatpak_auto_pip.py automat

You can also list multiple dependencies at ones:

$ python3 flatpak_auto_pip.py automat cffi

An "output.json" file will be created in the same folder, containing
all the required dependencies.

This script is hosted here
https://github.com/RyuzakiKK/Flatpak-Python-auto-dependencies

Cheers,
Ludovico


More information about the Flatpak mailing list