Skip to content

Depend on pygit2 that corresponds to the installed libgit2 #847

Closed
@white-gecko

Description

@white-gecko

Sorry this is not a bug report, but a request for help.

I have a project that depends on pygit2. In my requirements.txt I've specified the dependency as pygit2==0.27.2 because I have libgit2 in version 0.27.x on my system. On other systems different versions of libgit2 might be installed. How can I specify the dependency to match the locally installed version? (https://www.pygit2.org/install.html#version-numbers)

Is this even possible with pip or is this a task to be done with distutils and a setup.py?

How do other users of the pygit2 do it? Could this maybe be added to the README/Wiki?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions