style: use bin extra

This commit is contained in:
Henry Fredrick Schreiner
2021-06-12 11:14:39 -04:00
parent 31770e9ac7
commit 74466fb69d
2 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ def update_pins(session):
""" """
Update the python and docker pins version inplace. 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_pythons.py", "--force")
session.run("python", "bin/update_docker.py") session.run("python", "bin/update_docker.py")
@@ -58,7 +58,7 @@ def update_proj(session):
""" """
Update the README inplace. Update the README inplace.
""" """
session.install("-e", ".[dev]") session.install("-e", ".[bin]")
session.run("./bin/projects.py", "docs/data/projects.yml", "--readme=README.md") session.run("./bin/projects.py", "docs/data/projects.yml", "--readme=README.md")
+8 -5
View File
@@ -11,21 +11,24 @@ extras = {
"pytest>=4", "pytest>=4",
"pytest-timeout", "pytest-timeout",
], ],
"dev": [ "bin": [
"click", "click",
"ghapi", "ghapi",
"mypy>=0.800",
"packaging>=20.8",
"pip-tools", "pip-tools",
"pygithub", "pygithub",
"pyyaml", "pyyaml",
"requests", "requests",
"rich>=9.6", "rich>=9.6",
"typing-extensions", "packaging>=20.8",
], ],
} }
extras["dev"] = [
"mypy>=0.800",
*extras["test"],
*extras["bin"],
]
extras["all"] = sum(extras.values(), []) extras["all"] = sum(extras.values(), [])
extras["dev"] += extras["test"]
setup(extras_require=extras) setup(extras_require=extras)