diff --git a/noxfile.py b/noxfile.py index 4d8493bb..d10c7212 100644 --- a/noxfile.py +++ b/noxfile.py @@ -48,7 +48,7 @@ def update_pins(session): """ Update the python and docker pins version inplace. """ - session.install("-e", ".[dev]") + session.install("-e", ".[bin]") session.run("python", "bin/update_pythons.py", "--force") session.run("python", "bin/update_docker.py") @@ -58,7 +58,7 @@ def update_proj(session): """ Update the README inplace. """ - session.install("-e", ".[dev]") + session.install("-e", ".[bin]") session.run("./bin/projects.py", "docs/data/projects.yml", "--readme=README.md") diff --git a/setup.py b/setup.py index 87168e76..690b54eb 100644 --- a/setup.py +++ b/setup.py @@ -11,21 +11,24 @@ extras = { "pytest>=4", "pytest-timeout", ], - "dev": [ + "bin": [ "click", "ghapi", - "mypy>=0.800", - "packaging>=20.8", "pip-tools", "pygithub", "pyyaml", "requests", "rich>=9.6", - "typing-extensions", + "packaging>=20.8", ], } +extras["dev"] = [ + "mypy>=0.800", + *extras["test"], + *extras["bin"], +] + extras["all"] = sum(extras.values(), []) -extras["dev"] += extras["test"] setup(extras_require=extras)