@task
def pypi_register():
 with cd('/home/vagrant/repos/sympy'):
  run('python setup.py register')

@ task def pypi_register ( ) : with cd ( '/home/vagrant/repos/sympy' ) : run ( 'python setup.py register' )
register a release with pypi this should only be done for the final release .