diff options
author | Milo Casagrande <milo@ubuntu.com> | 2013-01-23 10:27:52 +0100 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-01-23 10:27:52 +0100 |
commit | 6b8cab734f4963adc1a59b8de9a131cbb1ff2a5a (patch) | |
tree | 4ed1e14b14c9edb4da28ceff8533a41e6d9f7e9d /scripts/rhodecode-setup | |
parent | 9e8abc433c27c2ae072b2742df2871ffe3446799 (diff) |
Added parameter description, removed unecessary list.
Diffstat (limited to 'scripts/rhodecode-setup')
-rw-r--r-- | scripts/rhodecode-setup | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index f4bd950..bd28cc0 100644 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -270,11 +270,13 @@ def install_pip_packages(packages, user=None): :param packages: The packages to install. It has to be a dictionary, with key the name of the package, and value the version number or None. :type dict + :param user: The user to install the PIP package as. This will append + --user to the command line. + :type str """ for key, value in packages.iteritems(): print "Installing package %s with PIP..." % key - cmd_args = [] - cmd_args += ["pip", "install", "-q", "-I"] + cmd_args = ["pip", "install", "-q", "-I"] if value: cmd_args.append("%s==%s" % (key, value)) else: |