Skip to content

Commit

Permalink
fix namespace conflict, see #9
Browse files Browse the repository at this point in the history
  • Loading branch information
laktak committed Dec 22, 2023
1 parent bf62b62 commit 1075570
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cli/main.py → chkbit_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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 = """
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 1075570

Please sign in to comment.