diff --git a/tasks.py b/tasks.py index 24f3876..971888f 100644 --- a/tasks.py +++ b/tasks.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2018 Lance Edgar +# Copyright © 2010-2022 Lance Edgar # # This file is part of Rattail. # @@ -42,5 +42,5 @@ def release(ctx): Release a new version of `rattail-tempmon` """ shutil.rmtree('rattail_tempmon.egg-info') - ctx.run('python setup.py sdist --formats=gztar') + ctx.run('python -m build --sdist') ctx.run('twine upload dist/rattail-tempmon-{}.tar.gz'.format(__version__))