Colección de recortes y cosas útiles, simpáticas, interesantes(o las 3!) de Matías Herranz.
27 de abril de 2011
How to install PIL on Snow Leopard
For all the unfortunate like me that came across the pain it involves to correctly install PIL to use Django ImageFields in Mac (Snow Leopard) here goes what worked for me:
MacBookPro:~ matias$ sudo -s"sudo -s" is needed because ARCHFLAGS doesn't seem to get passed into sudo.
bash-3.2# ARCHFLAGS="-arch i386 -arch x86_64" pip install PIL
21 de abril de 2011
Running a mail server with Python(for development)
This post aims mostly to stop forgetting this super useful command:
If it may comes handy to someone else too, greater news then :-)
sudo python -m smtpd -n -c DebuggingServer localhost:25
If it may comes handy to someone else too, greater news then :-)
Suscribirse a:
Entradas (Atom)