diff --git a/doc/source/conf.py b/doc/source/conf.py index 4e62b07..5968764 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -11,6 +11,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. from os.path import abspath, dirname, join +from sys import executable import sys, os # If extensions (or modules to document with autodoc) are in another directory, @@ -248,4 +249,4 @@ from subprocess import check_call here = dirname(abspath(__file__)) -check_call(['python', join(here, 'image/all.py')]) +check_call([executable, join(here, 'image/all.py')])