diff options
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 |