Try to fix install
* add info in README.md * add wheel as a dependency for debian 10
This commit is contained in:
parent
1b96c0105c
commit
7258d5fd60
19
README.md
19
README.md
|
@ -34,14 +34,25 @@ Commands:
|
||||||
|
|
||||||
## install
|
## 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 -m venv ~/venv
|
||||||
pip install .[dev]
|
source ~venv/bin/activate
|
||||||
pip install .[test]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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
|
## config file
|
||||||
|
|
||||||
All global and service specific parameters can be specified via a config file has follows:
|
All global and service specific parameters can be specified via a config file has follows:
|
||||||
|
|
|
@ -20,14 +20,25 @@ helpme
|
||||||
cat << '_EOF_' >> $README
|
cat << '_EOF_' >> $README
|
||||||
## install
|
## 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 -m venv ~/venv
|
||||||
pip install .[dev]
|
source ~venv/bin/activate
|
||||||
pip install .[test]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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
|
## config file
|
||||||
|
|
||||||
All global and service specific parameters can be specified via a config file has follows:
|
All global and service specific parameters can be specified via a config file has follows:
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -38,6 +38,7 @@ setup(
|
||||||
keywords="patroni nagios check",
|
keywords="patroni nagios check",
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
"wheel",
|
||||||
"attrs >= 17, !=21.1",
|
"attrs >= 17, !=21.1",
|
||||||
"urllib3 >= 1.26.6",
|
"urllib3 >= 1.26.6",
|
||||||
"nagiosplugin >= 1.3.2",
|
"nagiosplugin >= 1.3.2",
|
||||||
|
|
Loading…
Reference in a new issue