From 2a57460e6d23032b133e39d30a3996096a5591a3 Mon Sep 17 00:00:00 2001 From: Adorilson Bezerra Date: Mon, 8 Sep 2025 18:08:55 +0100 Subject: [PATCH 1/2] Doc: Replace requirements.txt by requirements-dev.txt as development dependency --- docs/development.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development.rst b/docs/development.rst index 9bebb26b..35a6640f 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -51,7 +51,7 @@ Installing Dependencies Install development dependencies with `pip `_:: - $ pip install -r requirements.txt + $ pip install -r requirements-dev.txt All packages for running tests and building documentation will be installed. From deed2fc80912a2e5f2e8df0dd28c18ffd8fa87fb Mon Sep 17 00:00:00 2001 From: Adorilson Bezerra Date: Mon, 8 Sep 2025 18:15:15 +0100 Subject: [PATCH 2/2] Doc: Replace setup.py by `tox run` --- docs/development.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/development.rst b/docs/development.rst index 35a6640f..48a93c2c 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -65,11 +65,10 @@ Python: * CPython 3.5 * CPython 3.6 -Testing uses `tox `_. If you don't want to -install all the development requirements, then, after downloading, you can +Testing uses `tox `_. You can simply run:: - $ python setup.py test + $ tox run -The test argument to setup.py will download a minimal testing infrastructure -and run the tests. +Besides run the tests, it will perform other tasks, such as runs linters and +formatters against the source-code, and build the docs.