add $PYTHON envvar advice
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Jun 2019 10:41:10 +0000 (11:41 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Jun 2019 10:41:10 +0000 (11:41 +0100)
3d_gpu/devnotes.mdwn

index 200cecd91ccc9d9b1e5cc7d69fcb8aca8cccffe7..97cfbc3d114ea1716ec99812557150093f4748fb 100644 (file)
@@ -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 * !