def optimise():
 with cd('/home/web2py/'):
  run('python web2py.py -S eden -M -R applications/eden/static/scripts/tools/indexes.py', pty=True)
  run('python web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py', pty=True)

def optimise ( ) : with cd ( '/home/web2py/' ) : run ( 'python web2py.py -S eden -M -R applications/eden/static/scripts/tools/indexes.py' , pty = True ) run ( 'python web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py' , pty = True )
apply optimisation .