diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2019-02-26 22:16:50 -0800 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2019-02-27 16:14:45 -0800 |
commit | 4839844018588ebd43600c260a0497c5f54216f8 (patch) | |
tree | 7d49b81d56809cfa5b3166f73a6e0572860c7e42 | |
parent | a8a0b870b4ef01baaed4faa87622d393668f5207 (diff) | |
download | numpy-4839844018588ebd43600c260a0497c5f54216f8.tar.gz |
BLD: make doc build work more robustly.
Follow-up to gh-12911
-rw-r--r-- | doc/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index 38ce20c40..7c1dde90c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,8 +3,7 @@ # This needs to be major.minor, just "3" doesn't work - it will result in # issues with the amendments to PYTHONPATH and install paths (see DIST_VARS). -# If you're using a different Python version, just change the number here. -PYVER = 3.6 +export PYVER=`python3 -c 'import sys; print("{0}.{1}".format(*sys.version_info[:2]))'` PYTHON = python$(PYVER) # You can set these variables from the command line. |