From a4fed69269fb00314ab11858a2785b4868afd999 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 8 Jun 2019 11:41:10 +0100 Subject: [PATCH] add $PYTHON envvar advice --- 3d_gpu/devnotes.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3d_gpu/devnotes.mdwn b/3d_gpu/devnotes.mdwn index 200cecd91..97cfbc3d1 100644 --- a/3d_gpu/devnotes.mdwn +++ b/3d_gpu/devnotes.mdwn @@ -5,6 +5,9 @@ * recommended to use "python3 setup.py develop", it makes life a lot easier. * epydoc (old but still relevant) to be used to extract docstrings. again goes in Makefile +* some people may use pypy3, others python3.6, others python3.7. do NOT + hard-code the python executable name into Makefiles / scripts, use + $(PYTHON3) as an optional env-var (PYTHON3 ?= "python3") * unit tests (python setup.py test) always to be developed extensively (synergistically) at time of code writing, NOT as an afterthought. * do not use import * ! -- 2.30.2