sudo apt-get install python-numpy python-scipy python-matplotlib python-gnuplot git git-gui speThe last is needed to allow weave compiling inline.
sudo apt-get install python-dev
Now configure git
git config --global user.name "Your full name"To just use the code, we make a directory to extract the code to
git config --global user.email "mymail@mail.com"
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
mkdir diffusionitIf you have commit rights, you can push to the code to update it, but you must setup your remote repo differently. You can change this in the file diffusionit/.git/config. If you are doing things from scratch, change the git remote line above by
cd diffusionit/
git init
git remote add origin git://gitorious.org/diffusionit.git
git fetch
git checkout origin/master
git checkout -b master
git branch -a
git remote add origin git@gitorious.org:diffusionit/diffusionit.gitYou do need to create a login on gitorious and set up ssh passwords to use for the connection, see eg this post.
Once that is ok, a typical development cycle is
git status # check if okTo obtain changes that happened remote by somebody else
git add . # add changed files
git diff # check your changes if ok
git commit -m "blablagit push
git fetchThose are the main commands if you don't intend to become a code-master :-)
git rebase origin/master