mirror of
https://github.com/onionshare/onionshare.git
synced 2025-10-11 12:48:47 -04:00
Make onionshare_cli an actual dependency of the GUI version
This commit is contained in:
parent
06acb905b3
commit
8340b4aae7
5 changed files with 42 additions and 19 deletions
|
@ -90,4 +90,29 @@ If you want to run tests while hiding the GUI, you must have the `xvfb` package
|
|||
xvfb-run ./tests/run.sh
|
||||
```
|
||||
|
||||
## Making a release
|
||||
## Making a release
|
||||
|
||||
First, build a wheel package for OnionShare CLI:
|
||||
|
||||
```sh
|
||||
cd onionshare/cli
|
||||
poetry install
|
||||
poetry build
|
||||
```
|
||||
|
||||
This will make a file like `dist/onionshare_cli-$VERSION-py3-none-any.whl` (except with your specific version number). Move it into `../desktop/linux`:
|
||||
|
||||
```
|
||||
mkdir -p ../desktop/linux
|
||||
mv dist/onionshare_cli-*-py3-none-any.whl ../desktop/linux
|
||||
# change back to the desktop directory
|
||||
cd ../desktop
|
||||
```
|
||||
|
||||
Make sure the virtual environment is active, and then run `briefcase create` and `briefcase build`:
|
||||
|
||||
```sh
|
||||
. venv/bin/activate
|
||||
briefcase create
|
||||
briefcase build
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue