Fix evil hacks in ifcopenshell pip dist packaging and support py312 on PyPI

This commit is contained in:
Dion Moult
2024-04-05 16:54:02 +11:00
parent 861aa3f9c7
commit 336d056be7
+3 -23
View File
@@ -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