-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from microsoft/automated-documentation-update-…
…8986591897 Automated documentation update
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 protected] | ||
``` | ||
|
||
## 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 <package_name> --index-url https://pkgs.dev.azure.com/<org_name>/_packaging/<feed_name>/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 | ||
|