diff --git a/README.md b/README.md index fa7185f..0f9005e 100644 --- a/README.md +++ b/README.md @@ -34,14 +34,25 @@ Commands: ## install -Clone the repo, then install with pip from it : +The check requers python3. Using a virtual env is advised for testing : ``` -pip install . -pip install .[dev] -pip install .[test] +pip -m venv ~/venv +source ~venv/bin/activate ``` +Clone the repo, then install with pip3 from it : + +``` +pip3 install . +pip3 install .[dev] +pip3 install .[test] +``` + +Links : +* [pip & centos 7](https://linuxize.com/post/how-to-install-pip-on-centos-7/) +* [pip & debian10](https://linuxize.com/post/how-to-install-pip-on-debian-10/) + ## config file All global and service specific parameters can be specified via a config file has follows: diff --git a/doc/make_readme.sh b/doc/make_readme.sh index 9582bdd..c1c5d88 100755 --- a/doc/make_readme.sh +++ b/doc/make_readme.sh @@ -20,14 +20,25 @@ helpme cat << '_EOF_' >> $README ## install -Clone the repo, then install with pip from it : +The check requers python3. Using a virtual env is advised for testing : ``` -pip install . -pip install .[dev] -pip install .[test] +pip -m venv ~/venv +source ~venv/bin/activate ``` +Clone the repo, then install with pip3 from it : + +``` +pip3 install . +pip3 install .[dev] +pip3 install .[test] +``` + +Links : +* [pip & centos 7](https://linuxize.com/post/how-to-install-pip-on-centos-7/) +* [pip & debian10](https://linuxize.com/post/how-to-install-pip-on-debian-10/) + ## config file All global and service specific parameters can be specified via a config file has follows: diff --git a/setup.py b/setup.py index ee3079b..24317ec 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ setup( keywords="patroni nagios check", python_requires=">=3.6", install_requires=[ + "wheel", "attrs >= 17, !=21.1", "urllib3 >= 1.26.6", "nagiosplugin >= 1.3.2",