diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-06-14 10:46:17 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-06-14 10:46:17 +0200 |
commit | 8282f91ffb5b6ebcac64e654d3d1036df031f27a (patch) | |
tree | ea010648dfc98f70d46e00de62f9db32c561c36b | |
parent | 36996331c8fa55707a0f2e3c6c51acc5603e92c4 (diff) | |
download | haketilo-hydrilla-8282f91ffb5b6ebcac64e654d3d1036df031f27a.tar.gz haketilo-hydrilla-8282f91ffb5b6ebcac64e654d3d1036df031f27a.zip |
improve build instructions
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | setup.cfg | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ The information below is meant to help hack on the codebase. If you're instead l * Python3 (>= 3.7) * [hydrilla.builder](https://git.koszko.org/hydrilla-builder/) -* flask +* flask (>= 1.1) * click * jsonschema (>= 3.0) @@ -50,7 +50,7 @@ sudo apt install python3-flask python3-flask python3-jsonschema \ python3-setuptools python3-setuptools-scm python3-babel python3-wheel ``` -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. +If you're using `virtualenv` command to create a virtual environment, make sure you invoke it with `--system-site-packages` and `--no-download`. The first option is necessary for packages installed inside the virtualenv to be able to use globally-installed dependencies. The second one will make `virtualenv` use locally-available base libraries (setuptools, etc.) instead of downloading them from PyPI. Now, in unpacked source directories of **both** `hydrilla-builder` and `hydrilla`, run the build and installation commands: ``` shell @@ -36,7 +36,7 @@ include_package_data=True python_requires = >= 3.7 install_requires = hydrilla.builder==1.1b1 - flask + flask>=1.1 jsonschema>=3.0 [options.package_data] |