File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 88# 4. Run ./release-build, make sure no issues
99# 5. Run this script
1010# 6. Verify that the expected version appears on https://pypi.org
11-
12- # Note, requires twine: `pip install twine`
11+ #
12+ # In order to upload to PyPI you will need to login to https://pypi.org,
13+ # using credentials that IT can provide, and create an API Token in the
14+ # rai-sdk project. Then you need to create a $HOME/.pypirc file that looks
15+ # like the following:
16+ #
17+ # ~~~
18+ # [distutils]
19+ # index-servers =
20+ # pypi
21+ #
22+ # [pypi]
23+ # username = __token__
24+ # password = <API Token>
25+ # [rai-sdk]
26+ # username = __token__
27+ # password = <API Token>
28+ # ~~~
29+ #
30+ # The upload script will error on the .egg file, you you can ignore, the error
31+ # is benign.
32+ #
33+ # Note, the script requires twine: `pip install twine`
1334
1435set -ex
1536
Original file line number Diff line number Diff line change 33set -ex
44
55# upload to production repo
6- twine upload --skip-existing dist/*
6+ twine upload --repository pypi -- skip-existing dist/*
You can’t perform that action at this time.
0 commit comments