diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-04-27 19:01:14 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-04-27 19:01:14 +0200 |
commit | e4822ba904cc8677e1453ce402e8c6a6c27a633a (patch) | |
tree | f924ab8341afa3159aa9ebcfc3bf9dc7b61cbd7a /README.md | |
parent | 8084a0711ff850ed8103b1fe7c1b557529ea75d4 (diff) | |
download | haketilo-hydrilla-e4822ba904cc8677e1453ce402e8c6a6c27a633a.tar.gz haketilo-hydrilla-e4822ba904cc8677e1453ce402e8c6a6c27a633a.zip |
improve installation instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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 |