Skip to content

Allow a folder with a list of wheels to be a repository, mimic pip --find-links #5983

Open
@ThijsvandenBerg

Description

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

The git --find-links features allows one to add a folder with a set of wheels as a repository. One can also configure git to include a folder with wheels as a repo, like so:

pip config set global.find-links N:\shared\repo

Could we have similar functionality for poetry? Have a feature that when the [[tool.poetry.source]] url is a local path like "/home/repo" or "C:\repo", or starts with "file://", then look for archives in that directory listing?

The git documentation for --find-links give a clear explanation of it's behavior:

If (the link to the repo is) a URL or path to an html file, then parse for links to archives such as sdist (.tar.gz) or wheel (.whl) files. If a local path or file:// URL that’s a directory, then look for archives in the directory listing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementationsstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions