Skip to content

Commit

Permalink
try gui_scripts instead of console_scripts
Browse files Browse the repository at this point in the history
Issue #145
  • Loading branch information
damies13 committed Sep 9, 2024
1 parent fb68c66 commit de87829
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion setup-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
'Say Thanks!': 'https://github.com/damies13/rfswarm#donations',
'Source': 'https://github.com/damies13/rfswarm',
},
entry_points={'console_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm: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'], 'gui_scripts': ['rfswarm-manager-gui = rfswarm_manager.rfswarm:RFSwarm']},
entry_points={'gui_scripts': ['rfswarm = rfswarm_manager.rfswarm:RFSwarm', 'rfswarm-manager = rfswarm_manager.rfswarm:RFSwarm']},
)

# https://pypi.org/project/pyshortcuts/
3 changes: 2 additions & 1 deletion setup-reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
'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={'console_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
entry_points={'gui_scripts': ['rfswarm-reporter = rfswarm_reporter.rfswarm_reporter:RFSwarm']},
)

0 comments on commit de87829

Please sign in to comment.