I hereby claim:
- I am ronnix on github.
- I am ronnix (https://keybase.io/ronnix) on keybase.
- I have a public key ASD7ASbdZPwNJzy0MdsFgr9bczZSsxJeE0HawAl62J3yIAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ cat .git/hooks/post-checkout | |
#!/bin/bash | |
# Remove stray .pyc files | |
find . -name '*.pyc' -delete | |
# Update requirements if needed | |
for filename in requirements.txt dev-requirements.txt test-requirements.txt ; do | |
CHANGED=`git diff HEAD@{1} --stat -- $GIT_DIR/../$filename | wc -l` | |
if [ $CHANGED -gt 0 ]; |
Downloading/unpacking ipython==0.13.2 (from -r requirements.txt (line 20)) | |
Hash of the package https://pypi.python.org/packages/source/i/ipython/ipython-0.13.2.zip#md5=76195c97e426fbc641f66c55faa... (from https://pypi.python.org/simple/ipython/) (<md5 HASH object @ 0x19c9d00>) doesn't match the expected hash 76195c97e426fbc641f66c55faa0318a! | |
Bad md5 hash for package https://pypi.python.org/packages/source/i/ipython/ipython-0.13.2.zip#md5=76195c97e426fbc641f66c55faa... (from https://pypi.python.org/simple/ipython/) |
from collections import defaultdict | |
from threading import Thread | |
import redis | |
import tornado.web | |
class SomeRequestHandler(tornado.web.RequestHandler): |
Mac OS X est un Unix, et à ce titre, l'installation de git n'est pas trop compliquée :). Pour résumer, vous avez deux méthodes :
Cette dernière méthode est plus contraignante, car votre système doit contenir le nécessaire pour compiler (compilateur GCC, outils Make et Autoconf...). Les utilisateurs d'Unix libres (Linux, *BSD) ne seront pas étonnés par ces deux méthodes d'installation.
Pour ceux qui souhaitent ne pas "se prendre la tête", il existe le projet Git OSX Installer, qui permet d'installer simplement git sur Mac OS X 10.5 uniquement. Vous pouvez constater que le projet est actif (au 30/10/2010, la version 1.7.3.1 est disponible alors que la dernière version est la 1.7.3.2).