Skip to content

Create a .exe file using Default Installer #3534

@naveen521kk

Description

@naveen521kk
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions