@task
def prepare_apt():
 sudo('apt-get -qq update')
 sudo('apt-get -y install git python3 make python-virtualenv zip python-dev python-mpmath python3-setuptools')
 sudo('easy_install3 pip==7.1.2')
 sudo('pip3 install mpmath')
 sudo('/usr/bin/pip install twine')
 sudo('apt-get -y install graphviz inkscape texlive texlive-xetex texlive-fonts-recommended texlive-latex-extra librsvg2-bin docbook2x')
 sudo('apt-get -y install python-software-properties')
 sudo('add-apt-repository -y ppa:fkrull/deadsnakes')
 sudo('apt-get -y update')
 sudo('apt-get -y install python3.3')

@ task def prepare_apt ( ) : sudo ( 'apt-get -qq update' ) sudo ( 'apt-get -y install git python3 make python-virtualenv zip python-dev python-mpmath python3-setuptools' ) sudo ( 'easy_install3 pip==7.1.2' ) sudo ( 'pip3 install mpmath' ) sudo ( '/usr/bin/pip install twine' ) sudo ( 'apt-get -y install graphviz inkscape texlive texlive-xetex texlive-fonts-recommended texlive-latex-extra librsvg2-bin docbook2x' ) sudo ( 'apt-get -y install python-software-properties' ) sudo ( 'add-apt-repository -y ppa:fkrull/deadsnakes' ) sudo ( 'apt-get -y update' ) sudo ( 'apt-get -y install python3.3' )
download software from apt note .