~javiljoen/yatte

46fcbe760875ca47829c393df6c1ef5ee11426d5 — JA Viljoen 9 months ago 73867a9
Add task to upload the package to PyPI
1 files changed, 6 insertions(+), 0 deletions(-)

M tasks.py
M tasks.py => tasks.py +6 -0
@@ 67,6 67,12 @@ sys.path.insert(0, "docs")
import doctasks  # type: ignore  # noqa: E402 F401


@task("upload")
def pypi():
    """Publish package to PyPI."""
    run("flit publish")


@task("clean")
def clean():
    """Remove build/test artefacts."""