Skip to content

Commit be237a2

Browse files
remove the 'dev' extra dependencies
1 parent 52a9fde commit be237a2

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

doc/getting-started/install.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,12 @@ They are also not needed for using CLIMADA.
263263
However, if you want to develop CLIMADA, we strongly recommend you install them.
264264

265265
With the ``climada_env`` activated, enter the workspace directory and then the CLIMADA repository as above.
266-
Then, add the ``dev`` extra specification to the ``pip install`` command (**mind the quotation marks**, and see also `pip install examples <https://pip.pypa.io/en/stable/cli/pip_install/#examples>`_):
266+
Then, add the ``test`` extra specification to the ``pip install`` command (**mind the quotation marks**,
267+
and see also `pip install examples <https://pip.pypa.io/en/stable/cli/pip_install/#examples>`_):
267268

268269
.. code-block:: shell
269270
270-
python -m pip install -e "./[dev]"
271+
python -m pip install -e "./[test]"
271272
272273
The CLIMADA Python package defines the following `extras <https://peps.python.org/pep-0508/#extras>`_:
273274

@@ -277,12 +278,10 @@ The CLIMADA Python package defines the following `extras <https://peps.python.or
277278

278279
* - Extra
279280
- Includes Dependencies...
280-
* - ``doc``
281-
- for building documentation
282281
* - ``test``
283282
- for running and evaluating tests
284-
* - ``dev``
285-
- combination of ``doc`` and ``test``, and additional tools for development
283+
* - ``doc``
284+
- for building documentation
286285

287286
The developer dependencies also include `pre-commit <https://pre-commit.com/#intro>`_, which is used to install and run automated, so-called pre-commit hooks before a new commit.
288287
In order to use the hooks defined in ``.pre-commit-config.yaml``, you need to install the hooks first.

pyproject.toml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,6 @@ test = [
7979
"pytest-cov",
8080
"pytest-subtests"
8181
]
82-
dev = [
83-
"ipython",
84-
"myst-nb",
85-
"readthedocs-sphinx-ext>=2.2",
86-
"sphinx",
87-
"sphinx-book-theme",
88-
"sphinx-markdown-tables",
89-
"sphinx-design",
90-
"sphinx-mdinclude",
91-
"mccabe>=0.6",
92-
"pylint>=3.0",
93-
"pytest",
94-
"pytest-cov",
95-
"pytest-subtests",
96-
"pre-commit"
97-
]
9882

9983
[project.urls]
10084
Homepage = "https://github.com/CLIMADA-project/climada_python"

0 commit comments

Comments
 (0)