From: Luke Kenneth Casson Leighton Date: Sat, 8 Jun 2019 10:41:10 +0000 (+0100) Subject: add $PYTHON envvar advice X-Git-Tag: convert-csv-opcode-to-binary~4666 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4fed69269fb00314ab11858a2785b4868afd999;p=libreriscv.git add $PYTHON envvar advice --- 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 * !