Try to fix install

* add info in README.md
* add wheel as a dependency for debian 10
This commit is contained in:
benoit 2021-08-13 14:43:07 +02:00
parent 1b96c0105c
commit 7258d5fd60
3 changed files with 31 additions and 8 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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",