Changeset - d2f5e8c75791
[Not reviewed]
0 1 0
Lance Edgar (lance) - 11 years ago 2013-05-12 10:22:14
lance@edbob.org
Added PyPI registration and upload to Fabric script.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
fabfile.py
Show inline comments
 
@@ -27,20 +27,20 @@ import os.path
 
from fabric.api import *
 

	
 

	
 
execfile(os.path.join(os.path.dirname(__file__), 'rattail', '_version.py'))
 

	
 

	
 
@task
 
def release():
 
    """
 
    Release a new version of 'rattail'.
 
    """
 

	
 
    local("python setup.py egg_info --tag-build='' sdist --formats=gztar")
 
    local("python setup.py egg_info --tag-build='' 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')
0 comments (0 inline, 0 general)