40dc989233 | ||
---|---|---|
.. | ||
README.md | ||
flatpak-cargo-generator.py | ||
flatpak-pip-generator | ||
info.febvre.Komikku.json | ||
python3-beautifulsoup4.json | ||
python3-brotli.json | ||
python3-cffi.json | ||
python3-cryptography-cargo-deps.json | ||
python3-dateparser.json | ||
python3-emoji.json | ||
python3-file-magic.json | ||
python3-keyring.json | ||
python3-lxml.json | ||
python3-natsort.json | ||
python3-piexif.json | ||
python3-pillow.json | ||
python3-pure-protobuf.json | ||
python3-rarfile.json | ||
python3-requests.json | ||
python3-setuptools_rust.json | ||
python3-unidecode.json |
README.md
Generate Rust dependencies of Python cryptography
Why?: Because, in Flathub sandbox, -share-network option is not allowed.
-
Get and uncompress Python cryptography sources somewhere.
-
Generate Cargo.lock file:
cd /path/to/cryptography-x.y.z
cargo vendor --manifest-path src/rust/
- Generate sources list JSON file in Komikku flatpak folder:
cd /path/to/Komikku/flatpak
python flatpak-cargo-generator.py /path/to/cryptography-x.y.z/src/rust/Cargo.lock -o python3-cryptography-cargo-deps.json
python3-cryptography-cargo-deps.json
is used in python3-keyring.json
.