From 242d3d9f940014fe15d721c7068a9f0232480787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Piotr=20Przeradowski?= Date: Wed, 28 Aug 2013 23:58:40 +0200 Subject: [PATCH] use executable to use venv --- doc/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')])