style: use bin extra
This commit is contained in:
+2
-2
@@ -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")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user