Forked from floer32/linux_mint_python_development_environment_setup.sh
Created
February 9, 2014 08:27
-
-
Save DrOctogon/8896174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
# General development essentials | |
sudo apt-get install -y build-essential ssh git gitk | |
# Databases: You may not need all of these; | |
# none are explicit dependencies of other items in this script. | |
# SQLite and MySQL are pretty generally used for web development, | |
# and ODBC is just something we use at work. | |
sudo apt-get install -y sqlite | |
sudo apt-get install -y python-mysqldb libmysqlclient-dev | |
sudo apt-get install -y unixodbc unixodbc-dev | |
# Python development essentials | |
sudo apt-get install -y python python-setuptools python-dev && sudo easy_install -U pip | |
sudo apt-get install -y libxml2-dev libxslt-dev # needed for Python package 'lxml' | |
# virtualenv, virtualenvwrapper stuff | |
sudo pip install virtualenv virtualenvwrapper | |
echo " | |
if [ -f /usr/local/bin/virtualenvwrapper.sh ] ; then | |
. /usr/local/bin/virtualenvwrapper.sh | |
fi | |
export WORKON_HOME=~/Envs | |
" >> $HOME/.bashrc | |
. $HOME/.bashrc | |
mkdir -p $WORKON_HOME | |
# Now you should be able to do do: `mkvirtualenv foo` | |
# Extra stuff (essential to me, may not be essential to you) | |
sudo apt-get -y install trash-cli | |
# Add personal bin to path | |
echo ' | |
# Add personal bin to PATH | |
if [ -d "$HOME/bin" ]; then | |
PATH="$HOME/bin:$PATH" | |
fi | |
' >> $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment