@task
def distutils_check():
 with cd('/home/vagrant/repos/sympy'):
  run('python setup.py check')
  run('python3 setup.py check')

@ task def distutils_check ( ) : with cd ( '/home/vagrant/repos/sympy' ) : run ( 'python setup.py check' ) run ( 'python3 setup.py check' )
runs setup .