fix namespace conflict, see #9

This commit is contained in:
Christian Zangl 2023-12-22 20:55:56 +01:00
parent bf62b62727
commit 1075570800
No known key found for this signature in database
GPG Key ID: 6D468AC36E2A4B3D
7 changed files with 7 additions and 4 deletions

View File

@ -155,6 +155,7 @@ $ chkbit -u .
new ./test
Processed 1 file.
- 0:00:00 elapsed
- 192.31 files/second
- 0.00 MB/second
- 1 directory was updated
@ -171,6 +172,7 @@ $ chkbit -u .
upd ./test
Processed 1 file.
- 0:00:00 elapsed
- 191.61 files/second
- 0.00 MB/second
- 1 directory was updated
@ -187,6 +189,7 @@ $ chkbit -u .
DMG ./test
Processed 1 file.
- 0:00:00 elapsed
- 173.93 files/second
- 0.00 MB/second
chkbit detected damage in these files:
@ -205,7 +208,7 @@ With pipenv (install with `pipx install pipenv`):
pipenv install
# run chkbit
pipenv run python3 -m cli.main
pipenv run python3 -m chkbit_cli.main
```
To build a source distribution package from pyproject.toml

View File

@ -7,7 +7,7 @@ import threading
import time
from datetime import datetime, timedelta
from chkbit import Context, Status, IndexThread
from cli import CLI, Progress, RateCalc, sparkify
from chkbit_cli import CLI, Progress, RateCalc, sparkify
STATUS_CODES = """

View File

@ -16,7 +16,7 @@ license = {file = "LICENSE"}
Homepage = "https://github.com/laktak/chkbit-py"
[project.scripts]
chkbit = "cli.main:main"
chkbit = "chkbit_cli.main:main"
[tool.setuptools.packages.find]
include = ["chkbit","cli"]
include = ["chkbit","chkbit_cli"]