diff --git a/docs/installation.rst b/docs/installation.rst index c4646750e..bbb234d69 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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 .[dev] Or using ``conda``: diff --git a/pyproject.toml b/pyproject.toml index 17c63ce00..ce577f267 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [build-system] requires = [ - "cython", + "cython>=0.29.32", "oldest-supported-numpy", - "setuptools>=61.0.0", + "setuptools>=63", ] build-backend = "setuptools.build_meta" @@ -42,6 +42,7 @@ dependencies = [ [project.optional-dependencies] test = ["pytest"] docs = ["sphinx", "numpydoc"] +dev = ["descartes>=1.0.1", "matplotlib", "pytest", "pytest-cov", "wheel"] [project.urls] Documentation = "https://shapely.readthedocs.io/" diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 4f399aef5..000000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,8 +0,0 @@ -cython==0.29.21 -descartes==1.0.1 -matplotlib -numpy>=1.4.1 -pytest -pytest-cov -setuptools -wheel