From 2531a580838fae76f6ff4c6ccbe924123c2aac05 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 14 Jul 2024 23:27:22 +1000 Subject: [PATCH] Fix IOS-Python build to use the new platform-specific blobs --- src/ifcopenshell-python/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index ff1a58939a..d5efcec3f6 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -93,14 +93,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 $(SED) 's/version = "0.0.0"/version = "$(VERSION)"/' dist/ifcopenshell/__init__.py cd dist && zip -r ifcopenshell-python-$(VERSION)-$(PYVERSION)-$(PLATFORM).zip ifcopenshell