mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-23 13:11:21 -05:00
Change minimum Python version to 3.8, and update all poetry deps
This commit is contained in:
parent
a346e52beb
commit
8689cd87d7
25
RELEASE.md
25
RELEASE.md
@ -150,6 +150,31 @@ This will create:
|
|||||||
|
|
||||||
### macOS release
|
### macOS release
|
||||||
|
|
||||||
|
In order to make a universal2 binary, you must run this one a Mac with Apple Silicon. To keep a clean environment, you can use VM.
|
||||||
|
|
||||||
|
Set up the VM like this:
|
||||||
|
|
||||||
|
- Install [Homebrew](https://brew.sh/)
|
||||||
|
- `brew install create-dmg`
|
||||||
|
- Install the latest Python 3.10 from https://www.python.org/downloads/
|
||||||
|
- Install ARM64 version of Go from https://go.dev/dl/
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd desktop
|
||||||
|
python3 -m pip install poetry
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry install
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/get-tor.py macos
|
||||||
|
./scripts/build-pt-obfs4proxy.sh
|
||||||
|
./scripts/build-pt-snowflake.sh
|
||||||
|
./scripts/build-pt-meek.sh
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py build
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py bdist_mac
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
||||||
|
cd build
|
||||||
|
tar -czvf ~/onionshare-macos-universal2.tar.gz OnionShare.app
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Set up the packaging environment:
|
Set up the packaging environment:
|
||||||
|
|
||||||
- Install create-dmg: `brew install create-dmg`
|
- Install create-dmg: `brew install create-dmg`
|
||||||
|
1605
cli/poetry.lock
generated
1605
cli/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,7 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.7"
|
python = ">=3.8,<3.11"
|
||||||
click = "*"
|
click = "*"
|
||||||
flask = "2.0.3"
|
flask = "2.0.3"
|
||||||
flask-socketio = "5.3.1"
|
flask-socketio = "5.3.1"
|
||||||
|
1069
desktop/poetry.lock
generated
1069
desktop/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ authors = ["Micah Lee <micah@micahflee.com>"]
|
|||||||
license = "GPLv3+"
|
license = "GPLv3+"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.7,<3.11"
|
python = ">=3.8,<3.11"
|
||||||
onionshare_cli = {path = "../cli", develop = true}
|
onionshare_cli = {path = "../cli", develop = true}
|
||||||
PySide6 = "6.4.0"
|
PySide6 = "6.4.0"
|
||||||
qrcode = "*"
|
qrcode = "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user