Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Mar 26, 2024
1 parent db7cbf2 commit f808db2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ def run_install_headers(self):
for type_file in type_files:
pygame_data_files.append(type_file)

_sdl2_data_files = glob.glob(os.path.join(stub_dir, '_sdl2', '*.pyi'))
if _sdl2_data_files:
if _sdl2_data_files := glob.glob(os.path.join(stub_dir, '_sdl2', '*.pyi')):
data_files.append(('pygame/_sdl2', _sdl2_data_files))

# add non .py files in lib directory
Expand Down

0 comments on commit f808db2

Please sign in to comment.