diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-08 13:34:19 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-08 13:34:19 -0800 |
commit | 06c4b6381bb532b2abb240a63348c6b7a77db77b (patch) | |
tree | 7f2ff01b8949243d8116992b22014cc3d7e6e07a /RELEASE.md | |
parent | 46a9434fbfa14b4545f7f5f12f3bd3a2cc3621c9 (diff) | |
download | onionshare-06c4b6381bb532b2abb240a63348c6b7a77db77b.tar.gz onionshare-06c4b6381bb532b2abb240a63348c6b7a77db77b.zip |
Fix get_resource_path to work with python eggs, move appdata xml file to src so flatpak can see it, reduce python dependencies, and update release docs
Diffstat (limited to 'RELEASE.md')
-rw-r--r-- | RELEASE.md | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -31,14 +31,20 @@ pip3 install --user toml # clone flatpak-build-tools git clone https://github.com/flatpak/flatpak-builder-tools.git -./flatpak-pip-generator $(python3 -c 'import toml; print("\n".join(toml.loads(open("../../onionshare/desktop/pyproject.toml").read())["tool"]["briefcase"]["app"]["onionshare"]["requires"]))' |grep -v "./onionshare_cli" |grep -v -i "pyside2" |tr "\n" " ") +cd flatpak-builder-tools/pip + +# get onionshare-cli dependencies +./flatpak-pip-generator $(python3 -c 'import toml; print("\n".join([x for x in toml.loads(open("../../onionshare/cli/pyproject.toml").read())["tool"]["poetry"]["dependencies"]]))' |grep -v "^python$" |tr "\n" " ") +mv python3-modules.json onionshare-cli.json -# now run it for all of the briefcase dependencies from pyproject.toml +# get onionshare dependencies ./flatpak-pip-generator $(python3 -c 'import toml; print("\n".join(toml.loads(open("../../onionshare/desktop/pyproject.toml").read())["tool"]["briefcase"]["app"]["onionshare"]["requires"]))' |grep -v "./onionshare_cli" |grep -v -i "pyside2" |tr "\n" " ") +mv python3-modules.json onionshare.json # use something like https://www.json2yaml.com/ to convert to yaml and update the manifest -# - python3-onionshare-cli.json -# - python3-packaging.json +# add all of the modules in both onionshare-cli and onionshare to the submodules of "onionshare" +# - onionshare-cli.json +# - onionshare.json ``` Update the documentation: |