I have a library I maintain that has a dependency (install_requires) that is only available through a "private" pypi on ProGet, and I'm not able to figure out how to get this during build. I quote private, because no authentication is actually required.
I am familiar with the PEP 508 syntax, however, this seems to only work for repos or links to specific builds. For example, both of the following work for me:
setup(
...
install_requires=[
"<libraryname> @ git+ssh://git@git.<domain>.com:port/<reponame>.git@branch",
"<libraryname> @ http://proget.<domain>.com/pypi/private-pypi/download/<reponame>/1.5.0/<reponame>-1.5.0.tar.gz"
],
...
In this case, I don't want to peg a specific version of the dependency in question. Instead I want something like:
setup(
...
install_requires=["<libraryname>"],
extra_index_url="http://proget.<domain>.com/pypi/private-pypi/simple"
...
To my knowledge there's no endpoint on ProGet that would support getting the "latest" automatically.
There are several past answers to this question, but unfortunately most either mention deprecated/removed solutions (such as dependency_links
) or the pip installer of the library having some extra configuration or flags (e.g. .pypirc
configuration). I want the code bundled with the library to be able to handle the dependency installation without any extra setup on the user's part.
Not sure if this is necessary to answer the question, but relevant library versions:
setuptools==45.1.0
pip==19.2.3
Thanks in advance!
After posting, I found this related question with no answer.