From 21a7cf965a679dcdfb9044a3cff2597f25379431 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sat, 11 Apr 2015 18:24:24 -0700 Subject: 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. --- python/MANIFEST.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 python/MANIFEST.in (limited to 'python/MANIFEST.in') 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 -- cgit v1.2.3