diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2019-01-31 21:03:50 -0800 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2019-01-31 21:03:50 -0800 |
commit | f72f2678131294b923e583bc419a25a3ab207bf1 (patch) | |
tree | d4d44c5622c06e307bbff43bd07ea25caa2c2467 /doc | |
parent | 57a208378f23420a0f8b8f645a871e83a125e2f8 (diff) | |
download | numpy-f72f2678131294b923e583bc419a25a3ab207bf1.tar.gz |
BLD: fix doc build for distribution.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index d61d115f0..38ce20c40 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,10 @@ # Makefile for Sphinx documentation # -PYVER = 3 +# 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 PYTHON = python$(PYVER) # You can set these variables from the command line. @@ -58,7 +61,7 @@ gitwash-update: # -INSTALL_DIR = $(CURDIR)/build/inst-dist/ +INSTALL_DIR = $(CURDIR)/build/inst-dist INSTALL_PPH = $(INSTALL_DIR)/lib/python$(PYVER)/site-packages:$(INSTALL_DIR)/local/lib/python$(PYVER)/site-packages:$(INSTALL_DIR)/lib/python$(PYVER)/dist-packages:$(INSTALL_DIR)/local/lib/python$(PYVER)/dist-packages UPLOAD_DIR=/srv/docs_scipy_org/doc/numpy-$(RELEASE) |