Skip to content

Commit

Permalink
MAINT: remove requirements-dev.txt; expand optional dependencies in p…
Browse files Browse the repository at this point in the history
…yproject.toml (#1606)
  • Loading branch information
mwtoews committed Nov 15, 2022
1 parent 3a8490a commit fb948d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
3 changes: 1 addition & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ using ``venv``:
$ python3 -m venv .
$ source bin/activate
(env) $ pip install -r requirements-dev.txt
(env) $ pip install -e .
(env) $ pip install -e .[test]
Or using ``conda``:

Expand Down
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,17 @@ dependencies = [
]

[project.optional-dependencies]
test = ["pytest"]
docs = ["sphinx", "numpydoc"]
test = [
"pytest",
"pytest-cov",
]
docs = [
"numpydoc==1.1.*",
"matplotlib",
"sphinx",
"sphinx-book-theme",
"sphinx-remove-toctrees",
]

[project.urls]
Documentation = "https://shapely.readthedocs.io/"
Expand Down
7 changes: 0 additions & 7 deletions requirements-dev.txt

This file was deleted.

0 comments on commit fb948d9

Please sign in to comment.