Skip to content

Commit

Permalink
refactor: move entrypoint script
Browse files Browse the repository at this point in the history
move the entrypoint script into a scripts folder to keep things tidy.
  • Loading branch information
robberwick committed Nov 30, 2024
1 parent d71c3b7 commit e3cfbb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dev = ["black", "isort", "mypy"]
test = ["coverage", "pytest", "pytest-cov", "pytest-mock"]

[project.scripts]
blinkstick = "blinkstick.main:main"
blinkstick = "scripts.main:main"

[project.urls]
homepage = "https://pypi.python.org/pypi/blinkstick/"
Expand Down
2 changes: 1 addition & 1 deletion src/blinkstick/main.py → src/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import logging

from blinkstick import find_all, find_by_serial, get_blinkstick_package_version
from .constants import BlinkStickVariant
from blinkstick.constants import BlinkStickVariant

logging.basicConfig()

Expand Down

0 comments on commit e3cfbb3

Please sign in to comment.