Merge branch 'master' of github.com:pre-commit/pre-commit

Conflicts:
	tests/git_test.py
This commit is contained in:
Ken Struys 2014-03-13 16:48:02 -07:00
commit 3b0f03d0e0
11 changed files with 243 additions and 160 deletions

View file

@ -54,7 +54,8 @@ class PreCommitProject(object):
with self.in_checkout():
if local.path('setup.py').exists():
local['virtualenv']['py_env']()
local['bash'][local['pip']['install', '.']]
local['bash']['-c', 'source py_env/bin/activate && pip install .']()
print local.cwd.getpath()
def create_repo_in_env(git_repo_path, sha):
project = PreCommitProject(git_repo_path, sha)