-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to be able to create a shortcut for a python "entry_point" #14
Comments
I suggest adding kwarg |
This is dependent on #10 as the entry_point may not have been created by the time the shortcut is needed to be created.
e.g. from shortcut import ShortCutter, entry_point_dir
sc = ShortCutter()
sc.create_menu_shortcut(entry_point_dir + "my_app", target_exists=False) |
What if the |
There is also an extension
In this case |
I guess error is better. ( |
So, if it was an I think its just windows which would need .exe attached. |
I guess here should be a check if a target doesn't contain path separators and a valid filename. |
When creating python packages
entry_point
's are added into the Python\Scripts directory for python applications.shortcut should be able to create a shortcut for these entry_point's
Based on requests in #7 from @kiwi0fruit
The text was updated successfully, but these errors were encountered: