We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca77b33 + 972435b commit bd184c3Copy full SHA for bd184c3
setup.py
@@ -465,12 +465,8 @@ def run_install_headers(self):
465
for type_file in type_files:
466
pygame_data_files.append(type_file)
467
468
-_sdl2 = glob.glob(os.path.join(stub_dir, '_sdl2', '*.pyi'))
469
-if _sdl2:
470
- _sdl2_data_files = []
+if _sdl2_data_files := glob.glob(os.path.join(stub_dir, '_sdl2', '*.pyi')):
471
data_files.append(('pygame/_sdl2', _sdl2_data_files))
472
- for type_file in _sdl2:
473
- _sdl2_data_files.append(type_file)
474
475
# add non .py files in lib directory
476
for f in glob.glob(os.path.join('src_py', '*')):
0 commit comments