Skip to content

Commit

Permalink
Don't duplicate __init__.py in Windows distributions. (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
adalisk-emikhaylov authored Dec 27, 2024
1 parent 02b51c8 commit e91dc04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/make_install_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def copy_lib():
# to make VS build them directly in the subdirectory. And the `.pyd` extension is only used on Windows.
for f in glob.glob(os.path.join(it.path_to_app, "*/*.pyd")):
os.remove(f)
for f in glob.glob(os.path.join(it.path_to_libs, "__init__.py")):
os.remove(f)

it.prepare_includes_list = prepare_includes_list
it.copy_includes = copy_includes
Expand Down

0 comments on commit e91dc04

Please sign in to comment.