Skip to content

Commit

Permalink
Use -M in pip install -r to allow mirrors. Fixes issues we've been ha…
Browse files Browse the repository at this point in the history
…ving.
  • Loading branch information
Mike Sun committed Apr 19, 2012
1 parent da62e38 commit 4cedb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion louis/commands/projects.py
Expand Up @@ -82,7 +82,7 @@ def install_project_requirements(project_username=None, requirements_path=None,

with settings(user=project_username):
with cd('/home/%s' % project_username):
run('%s/bin/pip install -r %s' % (env_path, requirements_path))
run('%s/bin/pip install -M -r %s' % (env_path, requirements_path))


def setup_project_code(git_url, project_name=None, project_username=None,
Expand Down

0 comments on commit 4cedb53

Please sign in to comment.