From 100a02576674a89e669dc1c05bf59ae96718b1a0 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Tue, 3 Jan 2023 22:50:32 +0000 Subject: [PATCH] Change header installation now that we are using pip --- python/dist/BUILD.bazel | 1 - python/dist/MANIFEST.in | 4 ---- python/dist/setup.py | 1 - 3 files changed, 6 deletions(-) delete mode 100644 python/dist/MANIFEST.in diff --git a/python/dist/BUILD.bazel b/python/dist/BUILD.bazel index 87b6fbe1fd..f10d9c0125 100644 --- a/python/dist/BUILD.bazel +++ b/python/dist/BUILD.bazel @@ -225,7 +225,6 @@ pkg_tar( ":generated_wkt_compiler", "setup.py", ":utf8_range_source_files", - "MANIFEST.in", "//:LICENSE", "//:upb_source_files", "//upb/util:util_source_files", diff --git a/python/dist/MANIFEST.in b/python/dist/MANIFEST.in deleted file mode 100644 index 21eee24fe6..0000000000 --- a/python/dist/MANIFEST.in +++ /dev/null @@ -1,4 +0,0 @@ -include python/*.h -include upb/*.h -include upb/**/*.h -include utf8_range/*.h diff --git a/python/dist/setup.py b/python/dist/setup.py index 06143cc214..4e8955e53c 100755 --- a/python/dist/setup.py +++ b/python/dist/setup.py @@ -82,5 +82,4 @@ setup( install_requires=[], ext_modules= [Extension('google._upb._message', glob.glob('google/protobuf/*.c') + glob.glob('python/*.c') + glob.glob('upb/*.c') + glob.glob('upb/**/*.c') + glob.glob('utf8_range/*.c'), include_dirs=[current_dir, os.path.join(current_dir, 'utf8_range')])], python_requires='>=3.7', - headers = ['python/*.h', 'upb/*.h', 'upb/**/*.h', 'utf8_range/*.h', 'google/protobuf/*.h'], )