Hello, I need help about how to use keyring and pip
I have several projects on Python3. Each one has its own virtual env. They all use Nexus in order to download packages.
At the moment my conf is the following:
$ more .pypirc # Upload to a hosted repository using twine [distutils] index-servers = nx-nfvpy-hosted [nx-nfvpy-hosted] repository: https://<NEXUS_REPO>/repository/nx-nfvpy-hosted/ $ more .pip/pip.conf [global] index = https://<NEXUS_USER>:<NEXUS_PASS>@<NEXUS_REPO>/repository/nx-nfvpy-group/pypi index-url = https://<NEXUS_USER>:<NEXUS_PASS>@<NEXUS_REPO>/repository/nx-nfvpy-group/simple/ trusted-host = <NEXUS_REPO>
For each application I run:
$ python3 -m venv <APPL_ENV> $ source <APPL_ENV>/bin/activate $ cd <APPL_DIR> $ pip install -r ./requirements.txt
I would know how to switch to keyring in order to remove <NEXUS_USER> and <NEXUS_PASS> from pip.conf