Skip to content

Commit e3ef689

Browse files
committed
Fix: more fixes
1 parent b349425 commit e3ef689

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tutorials/publish-pypi.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,12 @@ dist/pyospackage-0.1.0.tar.gz ... already exists
302302

303303
```
304304

305-
If your credentials are valid, Hatch will publish your package to test PyPI.
305+
If your credentials are valid, and you have already run `hatch build`
306+
and thus have your 2 distribution files in a `dist/` directory then
307+
Hatch will publish your package to test PyPI.
306308

307-
Hatch also has a caching system so once you enter your credentials it will remember them.
309+
Hatch also has a caching system so once you enter your credentials it
310+
will remember them.
308311

309312
## Install your package from test PyPI
310313

@@ -319,7 +322,9 @@ This is an example landing page for the pyosPackage that was just uploaded. Noti
319322
:::
320323

321324

322-
As an example, [check out our pyOpenSci pyosPackage landing page on test PyPI](https://test.pypi.org/project/pyosPackage/). Notice the page has information about the current package version and also installation instructions as follows:
325+
As an example, [check out our pyOpenSci pyosPackage landing page on test PyPI](https://test.pypi.org/project/pyosPackage/). Notice that
326+
the page has information about the current package version and also
327+
installation instructions as follows:
323328

324329
`pip install -i https://test.pypi.org/simple/ pyosPackage`
325330

@@ -384,8 +389,7 @@ To do this:
384389
2. Click on the manage button for the project that you wish to add a token for
385390
3. Go to settings
386391
4. Click on "Create a token for your-package-name-here"
387-
5. Create the token and follow the steps above to open up the `.pypirc` file
388-
6. Replace the old account wide token with your new package token.
392+
5. Create the token and follow the steps above publish your package using the repository specific token.
389393

390394
And you're all done!
391395

0 commit comments

Comments
 (0)