You can set a custom suffix instead of the default suffix, for example, when working with DevPi.
To set the devpi
registry suffix to the server suffix:
When creating the repository, enter the same root URL for both the URL and Registry URL fields. For example: http://m.devpi.net
.
To search, include the required scope in the index URL (as in the devpi
example, it could be root/pypi
).
$ pip search frog-fu --index http://localhost:8081/artifactory/api/pypi/devpi/root/pypi/
To install, include the desired scope in the index URL (as in the devpi
example, it could be root/pypi
).
$ pip install frog-bar -i http://localhost:8081/artifactory/api/pypi/devpi/root/pypi/simple