aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/MANIFEST.in
diff options
context:
space:
mode:
authorGravatar Tamir Duberstein <tamird@gmail.com>2015-04-11 18:24:24 -0700
committerGravatar Tamir Duberstein <tamird@gmail.com>2015-05-06 17:02:57 -0400
commit21a7cf965a679dcdfb9044a3cff2597f25379431 (patch)
treef94674cc8faf14fdb6cc6c950e23e3d2ae165e36 /python/MANIFEST.in
parent6d3e61676a0db184dba52c9e8f35661d0a6eb82f (diff)
Noramlize 'setup.py' to fit conventions:
- Comply with flake8, except for indentation width, which is 2. - Move human-centric metadata to top of 'setup()' call. - Add Trove classifiers for supported Python versions. - Use 'find_packages()' + MANIFEST.in to avoid errors in listing modules and packages. Closes #131 and #161.
Diffstat (limited to 'python/MANIFEST.in')
-rw-r--r--python/MANIFEST.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/MANIFEST.in b/python/MANIFEST.in
new file mode 100644
index 00000000..26088826
--- /dev/null
+++ b/python/MANIFEST.in
@@ -0,0 +1,14 @@
+prune google/protobuf/internal/import_test_package
+exclude google/protobuf/internal/*_pb2.py
+exclude google/protobuf/internal/*_test.py
+exclude google/protobuf/internal/*.proto
+exclude google/protobuf/internal/test_util.py
+
+recursive-exclude google *_test.py
+recursive-exclude google *_test.proto
+recursive-exclude google unittest*_pb2.py
+
+global-exclude *.dll
+global-exclude *.pyc
+global-exclude *.pyo
+global-exclude *.so