@@ -615,8 +615,7 @@ def checkEnvironment():
615615 # Ensure ws have access to hg and to sphinx-build.
616616 # You may have to create links in /usr/bin for them.
617617 runCommand ('hg --version' )
618- if getVersionTuple () >= (3 , 4 ):
619- runCommand ('sphinx-build --version' )
618+ runCommand ('sphinx-build --version' )
620619
621620def parseOptions (args = None ):
622621 """
@@ -929,15 +928,10 @@ def buildPythonDocs():
929928 docdir = os .path .join (rootDir , 'pydocs' )
930929 curDir = os .getcwd ()
931930 os .chdir (buildDir )
932- # The Doc build changed for 3.4 (technically, for 3.4.1)
933- if getVersionTuple () < (3 , 4 ):
934- # This step does an svn checkout of sphinx and its dependencies
935- runCommand ('make update' )
936- runCommand ("make html PYTHON='%s'" % os .path .abspath (sys .executable ))
937- else :
938- runCommand ('make clean' )
939- # Assume sphinx-build is on our PATH, checked in checkEnvironment
940- runCommand ('make html' )
931+ # The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
932+ runCommand ('make clean' )
933+ # Assume sphinx-build is on our PATH, checked in checkEnvironment
934+ runCommand ('make html' )
941935 os .chdir (curDir )
942936 if not os .path .exists (docdir ):
943937 os .mkdir (docdir )
0 commit comments