Skip to content

Commit

Permalink
ENH: new - Publish your python package to PyPI tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser authored Jan 22, 2024
2 parents 0738256 + 8fe0ba2 commit dd9c93b
Show file tree
Hide file tree
Showing 7 changed files with 418 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
directory: '_build/html'
arguments: |
--ignore-files "/.+\/_static\/.+/,/genindex.html/"
--ignore-status-codes "404, 403, 503"
--ignore-status-codes "404, 403, 429, 503"
2 changes: 1 addition & 1 deletion documentation/repository-files/license-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Licenses are legally binding, as such you should avoid trying to create your own

### Use open permissive licenses when possible

We generally suggest that you use a permissive, license that is [Open Software Initiative (OSI) approved](https://opensource.org/licenses). If you are
We generally suggest that you use a permissive, license that is [Open Software Initiative (OSI) approved](https://opensource.org/licenses/). If you are
[submitting your package to pyOpenSci for peer review](https://www.pyopensci.org/about-peer-review/index.html), then we require an OSI approved
license.

Expand Down
Binary file modified images/tutorials/publish-package-pypi-conda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tutorials/test-pypi-package.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tutorials/testpypi-search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion tutorials/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ understanding the steps involved in creating a Python package.
:caption: Python Packaging 101

What is a Python package? <self>
Make your code installable. <1-installable-code>
Make your code installable <1-installable-code>
Publish to PyPI <publish-pypi>
:::

:::{admonition} Learning Objectives
Expand Down
414 changes: 414 additions & 0 deletions tutorials/publish-pypi.md

Large diffs are not rendered by default.

0 comments on commit dd9c93b

Please sign in to comment.