From eae58f97adf02aa00f1e6680884bdf090cda5048 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 10 Jun 2024 19:05:31 -0500 Subject: [PATCH] build: fix command to build package, per newer convention --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index bbece68..142522e 100644 --- a/tasks.py +++ b/tasks.py @@ -52,6 +52,6 @@ def release(c): """ if os.path.exists('tailbone_corepos.egg-info'): shutil.rmtree('tailbone_corepos.egg-info') - c.run('python setup.py sdist --formats=gztar') + c.run('python -m build --sdist') filename = f'tailbone_corepos-{__version__}.tar.gz' c.run('twine upload dist/{}'.format(filename))