diff --git a/tasks.py b/tasks.py index 9464bfd..ac9fab3 100644 --- a/tasks.py +++ b/tasks.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2021 Lance Edgar +# Copyright © 2010-2022 Lance Edgar # # This file is part of Rattail. # @@ -40,7 +40,7 @@ def release(ctx): Release a new version of 'rattail-mailchimp'. """ shutil.rmtree('rattail_mailchimp.egg-info') - ctx.run('python setup.py sdist --formats=gztar') + ctx.run('python -m build --sdist') filename = 'rattail-mailchimp-{}.tar.gz'.format(__version__) ctx.run('twine upload dist/{}'.format(filename))