From 6555e566474ceb66e810ad2c4699848137179133 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 5 Apr 2024 16:54:02 +1100 Subject: [PATCH] Fix evil hacks in ifcopenshell pip dist packaging and support py312 on PyPI --- src/ifcopenshell-python/Makefile | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index 7df411bccd..dc85b4c4ad 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -18,15 +18,6 @@ SED:=sed -i '' -e endif endif -ifeq ($(PYVERSION), py36) -PYNUMBER:=36 -endif -ifeq ($(PYVERSION), py37) -PYNUMBER:=37 -endif -ifeq ($(PYVERSION), py38) -PYNUMBER:=38 -endif ifeq ($(PYVERSION), py39) PYNUMBER:=39 endif @@ -36,6 +27,9 @@ endif ifeq ($(PYVERSION), py311) PYNUMBER:=311 endif +ifeq ($(PYVERSION), py312) +PYNUMBER:=312 +endif ifeq ($(PLATFORM), linux) PLATFORMTAG:=manylinux_2_31_x86_64 @@ -50,20 +44,6 @@ ifeq ($(PLATFORM), win) PLATFORMTAG:=win_amd64 endif -ifeq ($(PLATFORM), macosm1) -ifeq ($(PYVERSION), py36) -# Pure Evil. Let me know if you're the first to file a bug report. -PYNUMBER:=37 -endif -endif - -ifeq ($(PLATFORM), macos) -ifeq ($(PYVERSION), py311) -# Pure Evil. Let me know if you're the first to file a bug report. -PYNUMBER:=310 -endif -endif - .PHONY: test test: pytest -p no:pytest-blender test