--- a/.gitignore
+++ b/.gitignore
@@ -53,6 +53,8 @@ src/google/protobuf/util/**/*.pb.h
*.pyc
*.egg-info
*_pb2.py
+!python/google/protobuf/compiler/plugin_pb2.py
+!python/google/protobuf/descriptor_pb2.py
python/**/*.egg
python/.eggs/
python/.tox