Skip to content

Commit 52700d9

Browse files
committed
move to src layout and fully embrace client lib rename
1 parent f5f36b7 commit 52700d9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ dependencies = [
1515
"typer-slim==0.12.5",
1616
"bma-client-lib",
1717
]
18-
description = "BornHack Media Archive CLI Tool"
1918
name = "bma-cli"
19+
description = "BornHack Media Archive CLI Tool"
2020
readme = "README.md"
2121
requires-python = ">=3.11"
2222
dynamic = ["version"]
2323

2424
[project.scripts]
25-
"bma" = "bma_cli:app"
25+
"bma" = "bma_cli.bma_cli:app"
2626

2727
[project.optional-dependencies]
2828
dev = [
2929
"pre-commit==4.0.0",
30+
"setuptools-scm == 8.0.4",
3031
]
3132

3233
[project.urls]

src/bma_cli.py renamed to src/bma_cli/bma_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ImageExifExtractionJob(BaseJob):
6060
def version() -> None:
6161
"""Return the version of bma-cli and bma-client."""
6262
click.echo(f"bma-cli version {get_version('bma-cli')}")
63-
click.echo(f"bma-client version {get_version('bma-client')}")
63+
click.echo(f"bma-client-lib version {get_version('bma-client-lib')}")
6464

6565

6666
@app.command()

0 commit comments

Comments
 (0)