added basic run single hook implmentation

This commit is contained in:
Ken Struys
2014-03-13 23:05:02 -07:00
parent 871ab4d72f
commit 27c341e2fb
3 changed files with 37 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ def in_env():
def install_environment():
assert local.path('setup.py').exists()
# Return immediately if we already have a virtualenv
if local.path('py_env').exists():
return
# Install a virtualenv
local['virtualenv'][PY_ENV]()