@task
def setup_python_ubuntu():
 local('pip install virtualenvwrapper')
 local('echo source /usr/local/bin/virtualenvwrapper.sh >> ~/.bash_profile')

@ task def setup_python_ubuntu ( ) : local ( 'pip install virtualenvwrapper' ) local ( 'echo source /usr/local/bin/virtualenvwrapper.sh >> ~/.bash_profile' )
setup python in ubuntu .