Avoid error for first-time release

This commit is contained in:
Lance Edgar 2023-10-29 21:45:22 -05:00
parent 2532c55ed8
commit 9043053134

View file

@ -19,6 +19,7 @@ def release(c):
Release a new version of Messkit
"""
# rebuild local tar.gz file for distribution
if os.path.exists('Messkit.egg-info'):
shutil.rmtree('Messkit.egg-info')
c.run('python -m build --sdist')