diff --git a/tasks.py b/tasks.py index cff0aa6..1a2a160 100644 --- a/tasks.py +++ b/tasks.py @@ -20,7 +20,7 @@ def release(ctx): """ # rebuild local tar.gz file for distribution shutil.rmtree('Corporal.egg-info') - ctx.run('python setup.py sdist --formats=gztar') + ctx.run('python -m build --sdist') # upload to public PyPI ctx.run('twine upload dist/Corporal-{}.tar.gz'.format(__version__))