From 569bdf2095f04e19e43856cc88da93962e9e2807 2013-10-11 16:23:35 From: Lance Edgar Date: 2013-10-11 16:23:35 Subject: [PATCH] Tweaked Fabric `release` task. --- diff --git a/fabfile.py b/fabfile.py index 2fcda520bcd76276a590b6b9c32d110d0a55a469..02bce9ad6ae591feb58976f5b41edc242f768925 100644 --- a/fabfile.py +++ b/fabfile.py @@ -22,16 +22,12 @@ # ################################################################################ -import os.path import shutil from fabric.api import * from fabric.contrib.files import exists, upload_template -execfile(os.path.join(os.path.dirname(__file__), 'rattail', '_version.py')) - - def get_overwrite(overwrite=None): """ Obtain a canonical "overwrite" directive. @@ -70,13 +66,6 @@ def release(): shutil.rmtree('rattail.egg-info') local('python setup.py sdist --formats=gztar register upload') - filename = 'rattail-{0}.tar.gz'.format(__version__) - - put(os.path.join('dist', filename), '/srv/pypi/{0}'.format(filename)) - with cd('/srv/pypi'): - run('rm --recursive --force simple') - run('compoze index') - @task def create_user(overwrite=None):