Packaging and distributing Python modules is a bad joke (and a stale one). Documentation even more so. Here are some undocumented quirks I've learned while trying to make a package out of a console script and upload it to PyPI.
If your license is a non-standard one (like Hippocratic License in my case), don't write
license = { file = "LICENSE" }
in your pyproject.toml
- PyPI will display your whole LICENSE
file contents in the side pane! Use