Skip to content

Add Python shebang to get-poetry.py script #1668

@n8sty

Description

@n8sty
  • 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

I use Poetry as part of a few different CI flows. In some of these I put (and cache) get-poetry.py into /usr/local/bin/ ie:

sudo curl -sSL --output /usr/local/bin/get-poetry https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py

Since get-poetry doesn't have a shebang, it's not executable. This isn't a big deal, it's not too difficult to call python /usr/local/bin/get-poetry or add an appropriate shebang at the top of the file, but why not just add #!/usr/bin/env python as a shebang to the file to support this use case?

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