Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built failt requiring sphinx version 1.2 #8

Closed
andreas-roehler opened this issue Jul 3, 2015 · 2 comments
Closed

Built failt requiring sphinx version 1.2 #8

andreas-roehler opened this issue Jul 3, 2015 · 2 comments

Comments

@andreas-roehler
Copy link

Changing in Makefile

sphinx==1.1.3 into sphinx==1.2

solved it

@snowman
Copy link

snowman commented Jun 2, 2022

In my case, neither the above two versions works, use sphinx==1.5 works for me

@snowman
Copy link

snowman commented Jun 2, 2022

Here is the patch

diff --git a/build/Makefile b/build/Makefile
index 1208535..6728093 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -1,5 +1,5 @@
 PYTHON_VERSION = '2.7.10'
-VIRTUALENV_BIN = $(shell python -c "import sys;print('virtualenv'+('' if sys.version_info.major==2 else '2'))")
+VIRTUALENV_BIN = "virtualenv"
  
 default: python.info
 
@@ -13,10 +13,10 @@ python_src: python.tgz
 	echo "texinfo_documents = [('contents', 'python', 'Python Documentation', 'Georg Brandl', 'Python', 'The Python Programming Language', 'Documentation tools', 1)]" >> python_src/Doc/conf.py
 
 sphinx_env:
-	$(VIRTUALENV_BIN) sphinx_env
+	$(VIRTUALENV_BIN) --python=python2 sphinx_env
 
 sphinx-build: sphinx_env
-	sphinx_env/bin/pip install sphinx==1.3.3
+	sphinx_env/bin/pip install sphinx==1.5
 
 python.texi: python_src sphinx-build
 	sphinx_env/bin/sphinx-build -b texinfo python_src/Doc python_info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants