Skip to content

ENH: Publish your python package to PyPI #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is causing issues in CI so i fixed the link.

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.