From aa33c68079dc2f63f2fab5ae982402545c30ce51 Mon Sep 17 00:00:00 2001 From: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> Date: Wed, 11 May 2022 11:45:34 +0200 Subject: [PATCH 1/2] Add a note about the read-only PAT for downloading packages. --- doc/source/guidelines/private_packaging.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/guidelines/private_packaging.rst b/doc/source/guidelines/private_packaging.rst index 5779c9c9d..55f0dfd27 100644 --- a/doc/source/guidelines/private_packaging.rst +++ b/doc/source/guidelines/private_packaging.rst @@ -58,6 +58,11 @@ To download the Python package from the `PyAnsys PyPI`_, use the following: INDEX_URL=https://$PYANSYS_PYPI_PRIVATE_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/ pip install ansys-- --index-url $INDEX_URL --no-dependencies +.. note:: + An additional read-only PAT is available for individual users who only need to download the package. + It can be stored as an environment variable and be used just as described in the code sample above. + Please email the PyAnsys Core team at pyansys.core@ansys to get access to this PAT. + .. warning:: Take care to always use the ``--index-url`` switch rather than the ``--extra-index-url`` switch. As noted in the `pip Documentation`_, the From f7f3116c8d62503cc0a2031cf7aad056b7587969 Mon Sep 17 00:00:00 2001 From: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> Date: Wed, 11 May 2022 18:48:48 +0200 Subject: [PATCH 2/2] Update doc/source/guidelines/private_packaging.rst Co-authored-by: Dominik Gresch --- doc/source/guidelines/private_packaging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/guidelines/private_packaging.rst b/doc/source/guidelines/private_packaging.rst index 55f0dfd27..02f95b1e9 100644 --- a/doc/source/guidelines/private_packaging.rst +++ b/doc/source/guidelines/private_packaging.rst @@ -61,7 +61,7 @@ To download the Python package from the `PyAnsys PyPI`_, use the following: .. note:: An additional read-only PAT is available for individual users who only need to download the package. It can be stored as an environment variable and be used just as described in the code sample above. - Please email the PyAnsys Core team at pyansys.core@ansys to get access to this PAT. + Please email the PyAnsys Core team at pyansys.core@ansys.com to get access to this PAT. .. warning:: Take care to always use the ``--index-url`` switch rather than the