-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
First, using the default installer as specified in the documentation, https://python-poetry.org/docs/#windows-powershell-install-instructions, it creates a .bat file in %USERPROFILE%\.poetry\bin folder. I want it to create an exe file instead of a batch file.
It can be done using the way setuptools does it. Essentially, it would be to find cli.exe or cli-64.exe and rename it to poetry.exe and create a file called poetry-script.py instead of the currently present, poetry(without any extension) file.
Usually, setuptools is installed by default. If it not, the .tar.gz for windows, can include a copy of cli.exe and cli-64.exe which can be easily compiled using, https://github.com/pypa/setuptools/blob/main/launcher.c
Note: poetry-script.py needs to have proper shebang with full paths.