Bonsai Makefile - error for missing PYVERSION

This commit is contained in:
Andrej730
2026-01-27 13:33:56 +05:00
parent 38f9f309e7
commit e8a4590d0a
+4 -2
View File
@@ -48,7 +48,6 @@ VERSION_PATCH:=$(shell cat '../../VERSION' | cut -d '.' -f 3)
VERSION_DATE:=$(shell date '+%y%m%d')
LAST_COMMIT_HASH:=$(shell git rev-parse HEAD)
LAST_COMMIT_DATE:=$(shell git show -s --format=%cI)
PYVERSION:=py310
PYPI_IMP:=cp
ifeq ($(PYVERSION), py311)
@@ -104,7 +103,10 @@ endif
.PHONY: dist
dist:
ifndef PLATFORM
$(error PLATFORM is not set)
$(error PLATFORM is not set. Example values: win, linux, macos, macosm1.)
endif
ifndef PYVERSION
$(error PYVERSION is not set. Example value - 'py313'. Supported Python versions - 3.11-3.13.)
endif
rm -rf build
mkdir -p build