--- protobuf-28.2/python/dist/setup.py 2024-10-18 16:22:46.270232649 +0200 +++ protobuf-28.2/python/dist/setup.py 2024-10-18 19:22:08.943992027 +0200 @@ -66,11 +66,14 @@ ext_modules=[ Extension( 'google._upb._message', - glob.glob('google/protobuf/*.c') - + glob.glob('python/*.c') - + glob.glob('upb/**/*.c', recursive=True) + glob.glob('google/protobuf/internal/api_implementation.cc') + + glob.glob('google/protobuf/py_ext/*.cc') + + glob.glob('*.c') + + [os.path.join(dirpath, f) + for dirpath, dirnames, files in os.walk('upb') + for f in files if f.endswith('.c')] + glob.glob('utf8_range/*.c'), - include_dirs=[current_dir, os.path.join(current_dir, 'utf8_range')], + include_dirs=[current_dir, os.path.join(current_dir, 'utf8_range'), os.path.join(current_dir, '..'), os.path.join(current_dir, '..', '..') ], language='c', extra_link_args=extra_link_args, )