Skip to content

Commit 461ea74

Browse files
committed
Update documentation and dependencies: replace toml-to-requirements with guidata-genreqs and remove obsolete dependency
1 parent 39676d0 commit 461ea74

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

doc/dev/platforms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ The ``requirements.txt`` mentioned in the following sections is a text file whic
2828
contains the list of all the Python packages required for building up the projet
2929
environment. It is used by the ``pip`` command to install all the dependencies.
3030

31-
The ``requirements.txt`` file is generated automatically by the
32-
``toml-to-requirements`` tool. It is based on the ``pyproject.toml`` file
33-
which is the reference file for the project dependencies.
31+
The ``requirements.txt`` file is generated automatically by the ``guidata-genreqs``
32+
tool. It is based on the ``pyproject.toml`` file which is the reference file for the
33+
project dependencies.
3434

3535
.. warning::
3636

@@ -42,7 +42,7 @@ To update the ``requirements.txt`` file, use the Visual Studio task
4242

4343
.. code-block:: bash
4444
45-
toml-to-req --toml-file pyproject.toml --include-optional-lists dev,doc,test
45+
python -m guidata.utils.genreqs txt
4646
4747
4848
Microsoft Windows 10

doc/requirements.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ Optional modules for development:
6666
* - ruff
6767
-
6868
- An extremely fast Python linter and code formatter, written in Rust.
69-
* - toml-to-requirements
70-
-
71-
- Convert a pyproject.toml file to a requirements.txt file
7269

7370
Optional modules for building the documentation:
7471

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ plotpy-benchmarks = "plotpy.tests.benchmarks:run"
5757

5858
[project.optional-dependencies]
5959
qt = ["PyQt5>=5.11"]
60-
dev = ["babel", "Coverage", "Cython>=3.0", "pylint", "ruff", "toml-to-requirements"]
60+
dev = ["babel", "Coverage", "Cython>=3.0", "pylint", "ruff"]
6161
doc = [
6262
"PyQt5",
6363
"sphinx",

0 commit comments

Comments
 (0)