Make onionshare_cli an actual dependency of the GUI version

This commit is contained in:
Micah Lee 2020-10-15 16:30:30 -07:00
parent 06acb905b3
commit 8340b4aae7
5 changed files with 42 additions and 19 deletions

View file

@ -27,13 +27,13 @@ First, make sure you have `tor` installed. In Linux, install it through your pac
Then install OnionShare CLI:
```
```sh
pip install onionshare-cli
```
Then run it with:
```
```sh
onionshare-cli --help
```
@ -43,25 +43,33 @@ You must have python3 and [poetry](https://python-poetry.org/) installed.
Install dependencies with poetry:
```
```sh
poetry install
```
To run from the source tree:
```
```sh
poetry run onionshare-cli
```
To run tests:
```
```sh
poetry run pytest -v ./tests
```
## Build a wheel package
```sh
poetry build
```
This will create `dist/onionshare_cli-$VERSION-py3-none-any.whl`.
### Making a release
Before making a release, make update the version in these places:
Before making a release, update the version in these places:
- `pyproject.toml`
- `onionshare_cli/resources/version.txt`

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "onionshare_cli"
version = "0.1.3"
version = "2.3.dev1"
description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service."
authors = ["Micah Lee <micah@micahflee.com>"]
license = "GPLv3+"