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.
Feature Request
First, using the default installer as specified in the documentation, https://python-poetry.org/docs/#windows-powershell-install-instructions, it creates a
.batfile in%USERPROFILE%\.poetry\binfolder. I want it to create anexefile instead of a batch file.It can be done using the way
setuptoolsdoes it. Essentially, it would be to findcli.exeorcli-64.exeand rename it topoetry.exeand create a file calledpoetry-script.pyinstead of the currently present,poetry(without any extension) file.Usually,
setuptoolsis installed by default. If it not, the.tar.gzfor windows, can include a copy ofcli.exeandcli-64.exewhich can be easily compiled using, https://github.com/pypa/setuptools/blob/main/launcher.cNote:
poetry-script.pyneeds to have proper shebang with full paths.