From b24cd9b8fac07ca97ad7e3a03d8f4b4155c6a6ae 2013-05-14 20:52:52 From: Lance Edgar Date: 2013-05-14 20:52:52 Subject: [PATCH] Tweaked Fabric script to remove egg info before building a release. --- 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__)