Skip to content

Commit 8362f06

Browse files
committed
Update how release distribution is done
1 parent 54baf35 commit 8362f06

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ green>=3.1.3 # unit test runner
1111
docutils>=0.16 # needed to generate library documentation with libdoc
1212
Pygments>=2.6.1 # this one too
1313
twine>=3.1.1 # needed for releasing to pypi
14+
build>=0.6.0 # needed for building the distribution

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ def doc(context):
9292

9393
@task(pre=[clean])
9494
def build(context):
95-
run(f'python {CURDIR / "setup.py"} bdist_wheel')
95+
run(f'python -m build --wheel')

0 commit comments

Comments
 (0)