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