File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ import os
2+
3+ from slicer_cli_web import ctk_cli_adjustment # noqa
4+ import slicer_cli_web .cli_list_entrypoint # noqa I001
5+
6+
7+ def main ():
8+ slicer_cli_web .cli_list_entrypoint .CLIListEntrypoint (
9+ cwd = os .path .dirname (os .path .realpath (__file__ )))
Original file line number Diff line number Diff line change @@ -211,6 +211,10 @@ def create_dask_client(args):
211211 empty string to start one locally
212212
213213 """
214+ # Dask is noisy. Stop that
215+ import os
216+ os .environ .setdefault ('DASK_DISTRIBUTED__LOGGING__DISTRIBUTED' , 'warning' )
217+
214218 import dask
215219 import psutil
216220
Original file line number Diff line number Diff line change 8484 'Topic :: Software Development :: Libraries :: Python Modules' ,
8585 ],
8686 zip_safe = False ,
87+ entry_points = {
88+ 'console_scripts' : ['histomicstk = histomicstk.cli.__main__:main' ],
89+ },
8790 python_requires = '>=3.8' ,
8891)
You can’t perform that action at this time.
0 commit comments