Skip to content

Commit 796f8dc

Browse files
Copy shims during stub generation.
1 parent 1f8390c commit 796f8dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/wheel/create_stubs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def setup_workspace( modules, clear_folder = True ):
4040
lib = LIB_DIR_MESHLIB / f"{module}{LIB_EXTENSION}"
4141
print(lib)
4242
shutil.copy(lib, WHEEL_SRC_DIR)
43+
for pybind_shim in LIB_DIR_MESHLIB.glob("*pybind11nonlimitedapi_meshlib_*"):
44+
print(pybind_shim)
45+
shutil.copy(pybind_shim, WHEEL_SRC_DIR)
4346

4447
def generate_stubs(modules):
4548
env = dict(os.environ)

0 commit comments

Comments
 (0)