Skip to content

Commit

Permalink
use executable to use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Piotr Przeradowski committed Aug 28, 2013
1 parent 4cbbbf0 commit 242d3d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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')])

0 comments on commit 242d3d9

Please sign in to comment.