Change header installation now that we are using pip

pull/13171/head
Deanna Garcia 2 years ago
parent d7fe9387f4
commit 100a025766
  1. 1
      python/dist/BUILD.bazel
  2. 4
      python/dist/MANIFEST.in
  3. 1
      python/dist/setup.py

@ -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",

@ -1,4 +0,0 @@
include python/*.h
include upb/*.h
include upb/**/*.h
include utf8_range/*.h

@ -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'],
)

Loading…
Cancel
Save