mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 23:09:42 -05:00
Stop calling setup.py directly
This commit is contained in:
parent
220a24548a
commit
9f616efdc1
@ -122,7 +122,7 @@ In `flatpak/org.onionshare.OnionShare.yaml`:
|
|||||||
Now, merge `onionshare-desktop.yaml` and `onionshare-cli.yaml` into the Flatpak manifest.
|
Now, merge `onionshare-desktop.yaml` and `onionshare-cli.yaml` into the Flatpak manifest.
|
||||||
- [ ] Build and test the Flatpak package to ensure it works:
|
- [ ] Build and test the Flatpak package to ensure it works:
|
||||||
```sh
|
```sh
|
||||||
flatpak-builder build --force-clean --jobs=$(nproc) --install-deps-from=flathub --install --user org.onionshare.OnionShare.yaml
|
flatpak-builder build --force-clean --jobs=$(nproc) --install-deps-from=flathub --install --user flatpak/org.onionshare.OnionShare.yaml
|
||||||
flatpak run org.onionshare.OnionShare
|
flatpak run org.onionshare.OnionShare
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -302,7 +302,7 @@ modules:
|
|||||||
ensure-writable:
|
ensure-writable:
|
||||||
- easy-install.pth
|
- easy-install.pth
|
||||||
build-commands:
|
build-commands:
|
||||||
- cd desktop && python3 setup.py install --prefix=${FLATPAK_DEST}
|
- cd desktop && pip3 install --prefix=${FLATPAK_DEST} .
|
||||||
- cd desktop && install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
|
||||||
- cd desktop && install -D -m0644 org.onionshare.OnionShare.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
|
||||||
- cd desktop && install -D -m0644 org.onionshare.OnionShare.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
||||||
@ -356,7 +356,7 @@ modules:
|
|||||||
- name: onionshare-cli
|
- name: onionshare-cli
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- cd cli && python3 setup.py install --prefix=${FLATPAK_DEST}
|
- cd cli && pip3 install --prefix=${FLATPAK_DEST} --no-deps .
|
||||||
sources:
|
sources:
|
||||||
- type: dir
|
- type: dir
|
||||||
path: ..
|
path: ..
|
||||||
|
Loading…
Reference in New Issue
Block a user