提交 6eb1798a 编写于 作者: K Kentaro Wada

main.py -> __main__.py to allow python -m labelme

上级 245fd0fe
...@@ -6,7 +6,7 @@ block_cipher = None ...@@ -6,7 +6,7 @@ block_cipher = None
a = Analysis( a = Analysis(
['labelme/main.py'], ['labelme/__main__.py'],
pathex=['labelme'], pathex=['labelme'],
binaries=[], binaries=[],
datas=[ datas=[
......
...@@ -135,7 +135,7 @@ setup( ...@@ -135,7 +135,7 @@ setup(
package_data={'labelme': ['icons/*', 'config/*.yaml']}, package_data={'labelme': ['icons/*', 'config/*.yaml']},
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'labelme=labelme.main:main', 'labelme=labelme.__main__:main',
'labelme_draw_json=labelme.cli.draw_json:main', 'labelme_draw_json=labelme.cli.draw_json:main',
'labelme_draw_label_png=labelme.cli.draw_label_png:main', 'labelme_draw_label_png=labelme.cli.draw_label_png:main',
'labelme_json_to_dataset=labelme.cli.json_to_dataset:main', 'labelme_json_to_dataset=labelme.cli.json_to_dataset:main',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册