aboutsummaryrefslogtreecommitdiff
path: root/python/MANIFEST.in
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2015-01-13 14:09:54 -0500
committerTres Seaver <tseaver@palladion.com>2015-01-13 14:09:54 -0500
commite17f78bbbf16bc318a9aa8776a100271936efb43 (patch)
treed64f842e5bed95b22b77b1c39f1638c45ce9b188 /python/MANIFEST.in
parent052e0205a76717f39fc65e303fd2b92ab1df3028 (diff)
downloadprotobuf-e17f78bbbf16bc318a9aa8776a100271936efb43.tar.gz
protobuf-e17f78bbbf16bc318a9aa8776a100271936efb43.tar.bz2
protobuf-e17f78bbbf16bc318a9aa8776a100271936efb43.zip
Noramlize 'setup.py' to fit conventions:
- 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.
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