Skip to content
This repository

Do not use the -U flag in PyPkgInstaller by default #228

Merged
merged 1 commit into from about 1 year ago

2 participants

Olivier Grisel Justin Riley
Olivier Grisel

As per @minrk's comments on twitter.

Justin Riley jtriley merged commit b45473e into from March 04, 2013
Justin Riley jtriley closed this March 04, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 03, 2013
Olivier Grisel Do not use the -U flag in PyPkgInstaller by default acfbab9
This page is out of date. Refresh to see the latest.
4  docs/sphinx/plugins/pypkginstaller.rst
Source Rendered
@@ -43,8 +43,8 @@ the cluster using::
43 43
 
44 44
     >>> Running plugin webapp-packages-installer
45 45
     >>> Installing Python packages on all nodes:
46  
-    >>> $ pip install -U flask
47  
-    >>> $ pip install -U SQLAlchemy
  46
+    >>> $ pip install flask
  47
+    >>> $ pip install SQLAlchemy
48 48
     2/2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
49 49
     >>> PyPkgInstaller took 0.317 mins
50 50
 
2  starcluster/plugins/pypkginstaller.py
@@ -29,7 +29,7 @@
29 29
 class PyPkgInstaller(DefaultClusterSetup):
30 30
     """Install Python packages with pip."""
31 31
 
32  
-    def __init__(self, packages="", install_command="pip install -U %s"):
  32
+    def __init__(self, packages="", install_command="pip install %s"):
33 33
         super(PyPkgInstaller, self).__init__()
34 34
         self.install_command = install_command
35 35
         self.packages = [p.strip() for p in packages.split(",") if p.strip()]
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.