The gitlab package registry can be used to publish and install python packages. Such an installation works perfect using --extra-index-url
or --index-url
as described in the documentation and I have also tested it successfully using a requirements.txt
file as described here.
Nonetheless, it would be easier for many purposes to add them directly into the packages setup.py.
Is there any way to add these packages from gitlab's registry or other external indexes directly into the requirements within a setup.py
?
Note: I know that it is possible to install directly from git repositorys from a setup.py
. But I would like to use the versioned package registry instead.
Thanks in advance for your help!