mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
Run sphinx with the target Python, not whatever happens to be on the PATH
This commit is contained in:
2
build.py
2
build.py
@@ -1093,7 +1093,7 @@ def cmd_sphinx(options, args):
|
||||
pwd2 = pushDir(sphinxDir)
|
||||
buildDir = os.path.join(sphinxDir, 'build')
|
||||
htmlDir = os.path.join(phoenixDir(), 'docs', 'html')
|
||||
runcmd('sphinx-build -b html -d %s/doctrees . %s' % (buildDir, htmlDir))
|
||||
runcmd('{} -m sphinx -b html -d {}/doctrees . {}'.format(PYTHON, buildDir, htmlDir))
|
||||
del pwd2
|
||||
|
||||
msg('Postprocessing sphinx output...')
|
||||
|
||||
Reference in New Issue
Block a user