Skip to content

Commit

Permalink
Add a console entry point.
Browse files Browse the repository at this point in the history
Closes #940.
  • Loading branch information
manthey committed Feb 16, 2024
1 parent b0b1242 commit e517ba4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions histomicstk/cli/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from slicer_cli_web import ctk_cli_adjustment # noqa
import slicer_cli_web # noqa I001


def main():
slicer_cli_web.cli_list_entrypoint.CLIListEntrypoint()
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,8 @@
'Topic :: Software Development :: Libraries :: Python Modules',
],
zip_safe=False,
entry_points={
'console_scripts': ['histomicstk = histomicstk.cli.__main__:main'],
},
python_requires='>=3.8',
)

0 comments on commit e517ba4

Please sign in to comment.