Skip to content

Commit b3e6a42

Browse files
lwasserucodery
andauthored
Fix: edit from @ucodery
Co-authored-by: Jeremy Paige <ucodery@gmail.com>
1 parent fa836e2 commit b3e6a42

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

tutorials/publish-pypi.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ dist/pyospackage-0.1.0-py3-none-any.whl
180180

181181
```
182182

183-
:::{admonition} Learn more about the building a Python package
183+
:::{admonition} Learn more about building a Python package
184184
:class: tip
185185
You can learn more about
186186
building in the [build page of our packaging guide](../package-structure-code/python-package-distribution-files-sdist-wheel).
@@ -337,18 +337,9 @@ you wish to install your newly published package in.
337337

338338
:::{tab-item} venv mac / Linux
339339
```bash
340-
> source pyospackage-dev /bin/activate
341-
> pip install -i https://test.pypi.org/simple/ youPackageNameHere
342-
> pip list
343-
```
344-
:::
345-
346-
:::{tab-item} venv windows
347-
```bash
348-
> source pyospackage-dev /bin/activate
340+
> hatch shell
349341
> pip install -i https://test.pypi.org/simple/ youPackageNameHere
350342
> pip list
351-
```
352343
:::
353344
::::
354345

@@ -383,9 +374,9 @@ If you plan to use your token regularly to publish to PyPI, we strongly recommen
383374
a token specific to your new package.
384375

385376
To do this:
386-
1. Go to testPyPI
377+
1. Go to test PyPI
387378
1. Navigate to the "Your Projects" section of your account
388-
2. Click on the manage button for the project that ou wish to add a token for
379+
2. Click on the manage button for the project that you wish to add a token for
389380
3. Go to settings
390381
4. Click on "Create a token for your-package-name-here"
391382
5. Create the token and follow the steps above to open up the `.pypirc` file
@@ -395,7 +386,7 @@ And you're all done!
395386
396387
## You have published your package to (test) PyPI!
397388
398-
Congratulations. You have now successfully published your package to testPyPI. If you have a package that is ready for real-world use on the real pyPi, then you can follow the same steps to publish it on PyPI.org .
389+
Congratulations. You have now successfully published your package to test PyPI. If you have a package that is ready for real-world use on the real PyPI, then you can follow the same steps to publish it on PyPI.org.
399390
400391
Once you publish on PyPI.org, you can then easily add your package to the conda-forge ecosystem using the [grayskull](https://conda-forge.org/blog/posts/2020-03-05-grayskull/) tool.
401392

0 commit comments

Comments
 (0)