@task
def checkout_cache():
 run('rm -rf sympy-cache.git')
 run('git clone --bare https://github.com/sympy/sympy.git sympy-cache.git')

@ task def checkout_cache ( ) : run ( 'rm -rf sympy-cache.git' ) run ( 'git clone --bare https://github.com/sympy/sympy.git sympy-cache.git' )
checkout a cache of sympy this should only be run once .