Skip to content

Commit 09c87d1

Browse files
authored
Update README.rst
Add package upload instructions Signed-off-by: marcmac <marc.macintyre@gmail.com>
1 parent 21cf330 commit 09c87d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ reasonable build environment:
2727
After a while, you will get a wheel file at dist/transformer_engine-<stuff>.whl, where <stuff> includes
2828
both the branch tag as well as system information like the Python version.
2929

30-
TODO: how to upload a wheel file to the augment PyPI server?
30+
# How to upload a wheel file to the augment PyPI server
31+
You must be in an environment with gcloud access to system-services-dev. If twine prompts for a password, `you're doing it wrong <https://cloud.google.com/artifact-registry/docs/python/authentication#keyring-setup>`.
3132

33+
.. code-block:: bash
34+
pip install twine keyring keyrings.google-artifactregistry-auth
35+
twine upload dist/$WHEEL_FILE --repository-url https://us-central1-python.pkg.dev/system-services-dev/pypi-public
3236
3337
Transformer Engine
3438
==================

0 commit comments

Comments
 (0)