Ignore more derived files.
diff --git a/.gitignore b/.gitignore
index b0bb025..e32ad64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,9 +46,11 @@
 cpp_test*.pb.*
 
 *.pyc
+*.so
 *.egg-info
 *_pb2.py
 python/.eggs/
+python/.tox
 python/build/
 python/google/protobuf/compiler/
 
@@ -61,4 +63,3 @@
 src/testzip.*
 src/zcg*zip
 ar-lib
-*.so