pyshortcuts icon indicating copy to clipboard operation
pyshortcuts copied to clipboard

Run from virtualenv

Open nvgoldin opened this issue 1 year ago • 1 comments

Is there a way to define the Python binary to be used in the shortcut?

I'm using poetry if it matters

nvgoldin avatar Jun 30 '23 07:06 nvgoldin

Is there a way to define the Python binary to be used in the shortcut?

You ought to be able to specify that as the executable to use:

   pyshortcut -n MyApp  -e  <path_to_env>/bin/python   scriptname

I don't think that poetry would have an effect, but I don't really know much about poetry ;).

newville avatar Jun 30 '23 16:06 newville