Skip to content

Commit

Permalink
Fix pyinstaller standalone generation
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Aug 26, 2018
1 parent f221a53 commit 5d40bf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion labelme.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ block_cipher = None


a = Analysis(
['labelme/app.py'],
['labelme/main.py'],
pathex=['labelme'],
binaries=[],
datas=[
Expand Down
4 changes: 4 additions & 0 deletions labelme/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ def main():
win.show()
win.raise_()
sys.exit(app.exec_())


if __name__ == '__main__':
main()

0 comments on commit 5d40bf6

Please sign in to comment.