Permalink
Browse files

Do not use the -U flag in PyPkgInstaller by default

  • Loading branch information...
1 parent 7fd46c2 commit acfbab907327b82a724016051876682bd4dbf06d @ogrisel ogrisel committed Mar 3, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 docs/sphinx/plugins/pypkginstaller.rst
  2. +1 −1 starcluster/plugins/pypkginstaller.py
@@ -43,8 +43,8 @@ the cluster using::
>>> Running plugin webapp-packages-installer
>>> Installing Python packages on all nodes:
- >>> $ pip install -U flask
- >>> $ pip install -U SQLAlchemy
+ >>> $ pip install flask
+ >>> $ pip install SQLAlchemy
2/2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
>>> PyPkgInstaller took 0.317 mins
@@ -29,7 +29,7 @@
class PyPkgInstaller(DefaultClusterSetup):
"""Install Python packages with pip."""
- def __init__(self, packages="", install_command="pip install -U %s"):
+ def __init__(self, packages="", install_command="pip install %s"):
super(PyPkgInstaller, self).__init__()
self.install_command = install_command
self.packages = [p.strip() for p in packages.split(",") if p.strip()]

0 comments on commit acfbab9

Please sign in to comment.