git .gitignore python code example
Example: gitignore python
When using buildout I have following in .gitignore (along with *.pyo and *.pyc):
.installed.cfg
bin
develop-eggs
dist
downloads
eggs
parts
src/*.egg-info
lib
lib64
Thanks to Jacob Kaplan-Moss
Also I tend to put .svn in since we use several SCM-s where I work.