Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First step for #24.
This does several things to prepare for a PyPI release, like replacing
setup.py
withpyproject.toml
, which is the new standard for Python packaging.This defines several things:
pip install .[tests]
. (You may need quotes on macOS:pip install ".[tests]"
.) This replaces therequirements.txt
file.issues
ordocumentation
. See also https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels.To try this out locally:
This will create a wheel and sdist in a
dist
directory, for example:You can then install these, for example:
And check the library works as expected.
After this, we could set up some a deploy workflow using Trusted Publishers.