From f95b04a2a85c7cba5eacb75fcf318e7a7fb9e49b Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 7 May 2024 13:50:38 +0000 Subject: [PATCH] Automated documentation update [skip ci] --- src/artifacts-helper/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/artifacts-helper/README.md b/src/artifacts-helper/README.md index 6bf2a52..12edbcf 100644 --- a/src/artifacts-helper/README.md +++ b/src/artifacts-helper/README.md @@ -23,6 +23,7 @@ Configures Codespace to authenticate with Azure Artifact feeds | yarnAlias | Create alias for yarn | boolean | true | | npxAlias | Create alias for npx | boolean | true | | rushAlias | Create alias for rush | boolean | true | +| python | Install Python keyring helper for pip | boolean | false | ## Customizations @@ -57,6 +58,19 @@ are put in place if they are not provided. An example of the `.npmrc` file creat //pkgs.dev.azure.com/orgname/projectname/_packaging/feed1/npm/:email=codespaces@github.com ``` +## Python Keyring Helper + +Add the optional `{ "python" : true }` to install a Python Keyring helper that will handle authentication +to Python feeds using the same mechanism as the other languages. To install a package just run something +like: + +``` +pip install --index-url https://pkgs.dev.azure.com//_packaging//pypi/simple +``` + +When the feed URL is an Azure Artifacts feed pip will use the keyring helper to provide the credentials needed +to download the package. + ## OS Support This feature is tested to work on Debian/Ubuntu and Mariner CBL 2.0