Last active
April 10, 2023 17:08
-
-
Save ytomino/8997b2ed37175260432673fc753bf2b3 to your computer and use it in GitHub Desktop.
Close the application fetched with pip into flatpak.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app-id: jp.halfmoon.panathenaia.pip | |
runtime: org.freedesktop.Platform | |
runtime-version: '22.08' | |
sdk: org.freedesktop.Sdk | |
#sdk-extensions: | |
build-options: | |
build-args: | |
- --filesystem=/var/tmp | |
- --share=network | |
strip: false | |
no-debuginfo: true | |
no-debuginfo-compression: true | |
finish-args: | |
- --unshare=network | |
command: /app/python3-venv/bin/python3 | |
modules: | |
- name: pip | |
buildsystem: simple | |
# sources: | |
build-commands: | |
- cd /app && python3 -m venv python3-venv | |
- cd /app/python3-venv | |
&& . bin/activate | |
&& pip3 install --cache-dir /var/tmp/pip wheel | |
&& pip3 install --cache-dir /var/tmp/pip ablog sphinx-intl | |
- find /app/python3-venv -type f -not -name '*.pyc' -print0 | xargs -0 chmod -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment