diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index d5efcec3f6..9c5e608de8 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -111,14 +111,7 @@ endif cd dist/working && wget $(IOS_URL) cd dist/working && unzip ifcopenshell-python* - cp -r dist/working/ifcopenshell/ifcopenshell_wrapper.py dist/ifcopenshell/ -ifeq ($(PLATFORM), win64) - cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/ -else ifeq ($(PLATFORM), win32) - cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.pyd dist/ifcopenshell/ -else - cp -r dist/working/ifcopenshell/_ifcopenshell_wrapper.so dist/ifcopenshell/ -endif + cp -r dist/working/ifcopenshell/*ifcopenshell_wrapper* dist/ifcopenshell/ rm -rf dist/working # distutils cannot access anything outside the cwd, so hackishly swap out the README.md cp README.md ../README.bak