Skip to content

Commit e8a4590

Browse files
committed
Bonsai Makefile - error for missing PYVERSION
1 parent 38f9f30 commit e8a4590

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/bonsai/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ VERSION_PATCH:=$(shell cat '../../VERSION' | cut -d '.' -f 3)
4848
VERSION_DATE:=$(shell date '+%y%m%d')
4949
LAST_COMMIT_HASH:=$(shell git rev-parse HEAD)
5050
LAST_COMMIT_DATE:=$(shell git show -s --format=%cI)
51-
PYVERSION:=py310
5251
PYPI_IMP:=cp
5352

5453
ifeq ($(PYVERSION), py311)
@@ -104,7 +103,10 @@ endif
104103
.PHONY: dist
105104
dist:
106105
ifndef PLATFORM
107-
$(error PLATFORM is not set)
106+
$(error PLATFORM is not set. Example values: win, linux, macos, macosm1.)
107+
endif
108+
ifndef PYVERSION
109+
$(error PYVERSION is not set. Example value - 'py313'. Supported Python versions - 3.11-3.13.)
108110
endif
109111
rm -rf build
110112
mkdir -p build

0 commit comments

Comments
 (0)