diff --git a/fabfile.py b/fabfile.py index 2fe5598ab28ee536e6342f947f9f92a58e123b25..ea3094523705b5f4d4316d30bb1fcbbf30c981a8 100644 --- a/fabfile.py +++ b/fabfile.py @@ -23,6 +23,7 @@ ################################################################################ import os.path +import shutil from fabric.api import * @@ -36,6 +37,7 @@ def release(): Release a new version of 'rattail'. """ + shutil.rmtree('rattail.egg-info') local("python setup.py egg_info --tag-build='' sdist --formats=gztar register upload") filename = 'rattail-{0}.tar.gz'.format(__version__)