aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-04-27 19:01:14 +0200
committerWojtek Kosior <koszko@koszko.org>2022-04-27 19:01:14 +0200
commite4822ba904cc8677e1453ce402e8c6a6c27a633a (patch)
treef924ab8341afa3159aa9ebcfc3bf9dc7b61cbd7a
parent8084a0711ff850ed8103b1fe7c1b557529ea75d4 (diff)
downloadpydrilla-koszko.tar.gz
pydrilla-koszko.zip
improve installation instructionskoszko
-rw-r--r--README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6c0978d..c77431b 100644
--- a/README.md
+++ b/README.md
@@ -49,12 +49,7 @@ sudo apt install python3-flask python3-flask python3-jsonschema \
python3-setuptools python3-setuptools-scm python3-babel python3-wheel
```
-Then, block programs you're about to spawn from accessing https://pypi.org. If running on a GNU/Linux system you can utilize Linux user namespaces:
-``` shell
-unshare -Urn
-```
-
-The above will put you in a network-isolated shell. If you're using a virtualenv, activate it **after** the `unshare` command.
+If you're using `virtualenv` command to create a virtual environment, make sure you invoke it with `--system-site-packages`. This is necessary for packages installed inside the virtualenv to be able to use globally-installed dependencies.
Now, in unpacked source directories of **both** `hydrilla-builder` and `hydrilla`, run the build and installation commands:
``` shell
@@ -72,6 +67,16 @@ For tests to pass you need compiled message catalogs to be present. If you've pe
python3 -m pytest
```
+## Installation from wheels
+
+Instead of building yourself you can use Python wheels provided on [Hydrilla downloads page](https://hydrillabugs.koszko.org/projects/hydrilla/wiki/Releases).
+
+``` shell
+python3 -m pip install \
+ path/to/downloaded/hydrilla.builder-1.0-py3-none-any.whl \
+ path/to/downloaded/hydrilla-1.0-py3-none-any.whl
+```
+
## Running
### Hydrilla command