#NEWLINE# def _do_remote_commands( self , args ) : #NEWLINE# #INDENT# self . info ( 'Execute remote buildozer' ) #NEWLINE# cmd = 'source ~/.profile;cd {0};env PYTHONPATH={0}:$PYTHONPATH python -c "import buildozer, sys;buildozer.Buildozer().run_command(sys.argv[1:])" {1} {2} 2>&1' . format ( self . remote_build_dir , ( '--verbose' if ( self . log_level == 2 ) else '' ) , ' ' . join ( args ) ) #NEWLINE# self . _ssh_command ( cmd )