diff --git a/{{cookiecutter.project_slug}}/tasks.py b/{{cookiecutter.project_slug}}/tasks.py index a12b43d..1c13d42 100644 --- a/{{cookiecutter.project_slug}}/tasks.py +++ b/{{cookiecutter.project_slug}}/tasks.py @@ -25,3 +25,9 @@ def delint(c): """Applies automated linters to project""" c.run("isort ./speech_collect ./tests ./tasks.py", pty=True) c.run("black ./speech_collect ./tests ./tasks.py", pty=True) + + +@task +def build(c): + """Builds the project as a Python package.""" + c.run("python3 -m build")