Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import subprocess
import sys

import virtualenv

import vcs

lockfile = None
Expand Down Expand Up @@ -45,7 +47,7 @@ def setup_virtualenv():
virtualenv_path = os.path.join(here, "_virtualenv")

if not os.path.exists(virtualenv_path):
subprocess.check_call(["virtualenv", virtualenv_path])
virtualenv.create_environment(virtualenv_path)

activate_path = os.path.join(virtualenv_path, "bin", "activate_this.py")

Expand Down