I have a project that depends on the pygit2 library. The pygit2 library in turn depends on the locally installed libgit2 and both have to match the minor-version: https://www.pygit2.org/install.html#version-numbers
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?
Is this even possible with pip
or is this a task to be done with distutils
and a setup.py
?