Skip to content

Commit

Permalink
rename distribution for pypi to box-packager (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
trappitsch authored Apr 2, 2024
1 parent fc8589a commit 28ab10c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 25 deletions.
6 changes: 3 additions & 3 deletions docs/.includes/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To install with `pipx`, type:

```
pipx install box
pipx install box-packager
```

Alternatively, you can install the latest version directly from the GitHub repo.
Expand All @@ -19,7 +19,7 @@
To install box as a `rye` tool, type:

```
rye install box
rye install box-packager
```

Alternatively, you can install the latest version directly from the GitHub repo.
Expand All @@ -37,7 +37,7 @@
install it via:

```
pip install box
pip install box-packager
```

Alternatively, you can install the latest version directly from the GitHub repo.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "box"
version = "0.1.0.dev0"
name = "box-packager"
version = "0.1.0"
description = "Automatic packaging and installers of your GUI with PyApp"
readme = "README.md"
authors = [
Expand Down
18 changes: 9 additions & 9 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ certifi==2024.2.2
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via box
# via box-packager
# via mkdocs
# via mkdocs-click
# via rich-click
colorama==0.4.6
# via box
# via box-packager
# via mkdocs-material
coverage==7.4.3
# via pytest-cov
Expand Down Expand Up @@ -54,15 +54,15 @@ mdurl==0.1.2
mergedeep==1.3.4
# via mkdocs
mkdocs==1.5.3
# via box
# via box-packager
# via mkdocs-include-markdown-plugin
# via mkdocs-material
mkdocs-click==0.8.1
# via box
# via box-packager
mkdocs-include-markdown-plugin==6.0.4
# via box
# via box-packager
mkdocs-material==9.5.13
# via box
# via box-packager
mkdocs-material-extensions==1.3.1
# via mkdocs-material
packaging==23.2
Expand Down Expand Up @@ -102,17 +102,17 @@ regex==2023.12.25
requests==2.31.0
# via mkdocs-material
rich==13.7.0
# via box
# via box-packager
# via rich-click
rich-click==1.7.3
# via box
# via box-packager
ruff==0.2.2
six==1.16.0
# via python-dateutil
smmap==5.0.1
# via gitdb
tomlkit==0.12.4
# via box
# via box-packager
typing-extensions==4.10.0
# via rich-click
urllib3==2.2.1
Expand Down
18 changes: 9 additions & 9 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ certifi==2024.2.2
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via box
# via box-packager
# via mkdocs
# via mkdocs-click
# via rich-click
colorama==0.4.6
# via box
# via box-packager
# via mkdocs-material
ghp-import==2.1.0
# via mkdocs
Expand All @@ -46,15 +46,15 @@ mdurl==0.1.2
mergedeep==1.3.4
# via mkdocs
mkdocs==1.5.3
# via box
# via box-packager
# via mkdocs-include-markdown-plugin
# via mkdocs-material
mkdocs-click==0.8.1
# via box
# via box-packager
mkdocs-include-markdown-plugin==6.0.4
# via box
# via box-packager
mkdocs-material==9.5.13
# via box
# via box-packager
mkdocs-material-extensions==1.3.1
# via mkdocs-material
packaging==23.2
Expand Down Expand Up @@ -83,14 +83,14 @@ regex==2023.12.25
requests==2.31.0
# via mkdocs-material
rich==13.7.0
# via box
# via box-packager
# via rich-click
rich-click==1.7.3
# via box
# via box-packager
six==1.16.0
# via python-dateutil
tomlkit==0.12.4
# via box
# via box-packager
typing-extensions==4.10.0
# via rich-click
urllib3==2.2.1
Expand Down
2 changes: 1 addition & 1 deletion src/box/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@click.group(context_settings=CONTEXT_SETTINGS)
@click.version_option()
@click.version_option(package_name="box_packager")
def cli():
"""Automatic packaging and installers of your GUI with PyApp."""
pass
Expand Down
4 changes: 3 additions & 1 deletion tests/cli/test_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ def test_version():
result = runner.invoke(cli, ["--version"])
assert result.exit_code == 0
assert result.output.startswith("cli, version ")
assert result.output.rstrip().endswith(importlib.metadata.version("box"))
assert result.output.rstrip().endswith(
importlib.metadata.version("box_packager")
)

0 comments on commit 28ab10c

Please sign in to comment.