Provide a py run
/py z
sub-command that searches for .pyz
files
#221
Replies: 3 comments 5 replies
-
This would also make for an interesting alternative to pipx, as projects could distribute (or be made into) a |
Beta Was this translation helpful? Give feedback.
-
An alternative name is |
Beta Was this translation helpful? Give feedback.
-
Another option is an entirely separate |
Beta Was this translation helpful? Give feedback.
-
https://docs.python.org/3/library/zipapp.html provides a way to create a zip file that Python can directly execute. Unfortunately you have to point Python at the resulting
.pyz
file to execute it. Providing a generic command that can searchPATH
for such.pyz
files and use them appropriately may be useful.Idea sparked by https://discuss.python.org/t/pip-plans-to-introduce-an-alternative-zipapp-deployment-method/17431/25 .
Beta Was this translation helpful? Give feedback.
All reactions