The pip client can be used to install Python packages on your local system.
Running on Windows
To use Artifactory PyPI repositories on Windows, you must set the required environment variables for Python and pip.
Note that on Windows platforms, %HOME%\pip\pip.ini
replaces the pip.conf
file described in the sections below and should be reachable through your HOME path.
To connect the pip PyPI client with Artifactory:
Add the following to ~/.pip/pip.conf
:
[global] index-url = https://<USER>:<PASSWORD/TOKEN>@<YOUR_JFROG_DOMAIN>/artifactory/api/pypi/<REPO_NAME>/simple
For example:
[global] index-url = https://johnfrog:RANDOM_TOKEN_YWRtaW46QVBBVWJjTExkZTU4WT@my-awesome.jfrog.io/artifactory/api/pypi/pypi-local/simple
Note
If credentials are required, they should be embedded in the URL.
Next step: