Publishing
- Create a file
~/.pypirc - Set the file's chmod to
600
With PDM scripts:
- Run
pdm run create-<major|minor|micro>-release- These scripts use
pdm bumpto bump the version number, build the package, & publish to pypi. - To see the script, check the
[tool.pdm.scripts.create-<major|minor|micro>-release]script sections in../../pyproject.toml
- These scripts use
- Upload to pypi:
Without PDM scripts:
- Run the following commands:
- Upload to pypi: