Skip to content

Commit 1575cbb

Browse files
authored
Migrate to pip-licenses-cli (#282)
1 parent c6e10b2 commit 1575cbb

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed

noxfile.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,7 @@ def licenses(s: Session) -> None:
108108
"--locked",
109109
"--no-default-groups",
110110
"--no-install-project",
111-
f"--python={s.virtualenv.location}",
112-
env={"UV_PROJECT_ENVIRONMENT": s.virtualenv.location},
113-
)
114-
s.run_install(
115-
"uv",
116-
"pip",
117-
"install",
118-
"pip-licenses",
111+
"--group=licenses",
119112
f"--python={s.virtualenv.location}",
120113
env={"UV_PROJECT_ENVIRONMENT": s.virtualenv.location},
121114
)

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ docs = [
6363
"mkdocs-gen-files",
6464
"mkdocs-literate-nav",
6565
]
66+
licenses = [
67+
"pip-licenses-cli",
68+
]
6669

6770
[build-system]
6871
# TODO: Replace this with uv_build when it is it released for GA.

uv.lock

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)