Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?
This commit is contained in:
parent
2f115c0717
commit
666c16b74e
6
tasks.py
6
tasks.py
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2022 Lance Edgar
|
# Copyright © 2010-2024 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -24,8 +24,6 @@
|
||||||
Tasks for Tailbone
|
Tasks for Tailbone
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
@ -47,4 +45,4 @@ def release(c, tests=False):
|
||||||
if os.path.exists('Tailbone.egg-info'):
|
if os.path.exists('Tailbone.egg-info'):
|
||||||
shutil.rmtree('Tailbone.egg-info')
|
shutil.rmtree('Tailbone.egg-info')
|
||||||
c.run('python -m build --sdist')
|
c.run('python -m build --sdist')
|
||||||
c.run('twine upload dist/Tailbone-{}.tar.gz'.format(__version__))
|
c.run(f'twine upload dist/tailbone-{__version__}.tar.gz')
|
||||||
|
|
Loading…
Reference in a new issue