Skip to content

Commit

Permalink
undo try gui_scripts instead of console_scripts
Browse files Browse the repository at this point in the history
Issue #145

breaks console logs
  • Loading branch information
damies13 committed Sep 9, 2024
1 parent de87829 commit 631e0cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions setup-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
'Source': 'https://github.com/damies13/rfswarm',
},
# https://stackoverflow.com/questions/68747660/is-there-any-way-to-have-icon-for-exe-file-that-created-as-an-entry-point-using
# entry_points={'console_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm']},
entry_points={'console_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm']},
# entry_points={'console_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm'], 'gui_scripts': ['rfswarm-manager-gui = rfswarm_manager.rfswarm:RFSwarm']},
entry_points={'gui_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm']},
# this breaks console logs
# entry_points={'gui_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm']},
)

# https://pypi.org/project/pyshortcuts/
5 changes: 3 additions & 2 deletions setup-reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'Say Thanks!': 'https://github.com/damies13/rfswarm#donations',
'Source': 'https://github.com/damies13/rfswarm',
},
# entry_points={'console_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
entry_points={'gui_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
entry_points={'console_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
# this breaks console logs
# entry_points={'gui_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
)

0 comments on commit 631e0cb

Please sign in to comment.