Commit Graph

29 Commits (a1e6311197a7b887adaf60725b01562883b8e72f)

Author SHA1 Message Date
james-prior 170ce382af Make explicit that virtualenv is created if needed for pip module. (#3731)
packaging/language/pip.py:
    virtualenv option:
        Mention that virtualenv is created if it does not exist.
            (Explicit is better than implicit.)
        Mention other relevant options.
    notes:
        initialized -> created
    Wrap long lines.
9 years ago
Raphaël Dubigny 98a4310579 typo in pip module 9 years ago
Matt Martz 45745424f7 pip module should call exit_json for absent as well (indentation error) 9 years ago
Brian Coca e4c4f02472 Merge pull request #3074 from stefano-m/devel
Make 'executable' and 'virtualenv' mutually exclusive
9 years ago
Stefano Mazzucco 24c6b269c9 'executable' and 'virtualenv' mutually exclusive
fixes https://github.com/ansible/ansible/issues/14415
9 years ago
Joel Thompson 4b46200477 Add umask option to pip module
On systems with restrictive umasks, the pip module won't allow you to
install pip packages that are usable by everyone on the system. This
commit adds a umask option to optionally override the umask on a
per-package basis.
9 years ago
Brian Coca 4d2cdfe324 made note about choice availability in ansible ver 9 years ago
Brian Coca 8e066cd124 Merge pull request #2600 from cinerama70/pip-force-reinstall
Add support for pip force-reinstall
9 years ago
Michael Scherer 860635d38c Add more precise documentation on the requirements parameter
Fix #427
9 years ago
stephane 8d986a62a9 Add support for pip force-reinstall
The pip command allows a user to force reinstallation,
but the module doesn't currently support it. Add
"force-reinstall" as a possible state.
9 years ago
Daniele Varrazzo c860af29b2 Detect unchanged pip runs when using a vcs url in name
Should fix bug #1645
9 years ago
Daniele Varrazzo a95fee4079 Use 'pip freeze' output to detect changes with requirement specified
If the requirements contains a repos url it will always report 'Successfully
installed'; there is no difference in the output to tell apart if
anything new was pulled. Use freeze to detect if the environment changed
in any way.

Should fix ansible/ansible#1705
9 years ago
Felix Engelmann 2a97e9f299 re-implements #226
in optional (editable) way 
with backward compatibility
9 years ago
Brian Coca 22bfb54d9d added comment explaining chdir defaults 9 years ago
Brian Coca a639da7c44 default chdir to tmpdir to avoid virtualenv issues 9 years ago
Brian Coca 8c353d0516 make chdir a path so it resolves shell aliases
also removed this_dir logic as it is not needed, chdir is None by default and run_command can handle that.
9 years ago
Yuhui Huang 51666c6def Checking pip uninstall output in both stdout and stderr 9 years ago
Brian Coca 1dafa427c3 added versionadded to new option in pip module 9 years ago
Brian Coca 5c17fd3f9a Merge pull request #629 from wbolster/issue-586-virtualenv-python-version
Add virtualenv_python arg to pip module
9 years ago
Brian Coca a0d663bc65 Merge pull request #413 from JimPatterson/412_pip_check_venv
Correct check mode for pip in virtualenv.
10 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
Florian Apolloner 7f4f89abda Added os.path.expanduser when searching for pip executable. 10 years ago
giovtorres 7e8a518592 Added pip example installing from local tarball 10 years ago
Wouter Bolsterlee 8ce0284ace Add a virtualenv_python argument to the pip module
This allows specifying the Python version to use when creating the
virtualenv. See issue #586.
10 years ago
Wouter Bolsterlee 19b49c1d96 A few coding style cleanups 10 years ago
Wouter Bolsterlee fd061d437c Fix typo in `version_added` field. 10 years ago
Toshio Kuratomi c3a0e8a7a4 Don't fial if virtualenv is not installed and we do not need to initialize the virtualenv
Fixes #688
10 years ago
Jim Patterson 102167f22e Correct check mode for pip in virtualenv.
Fix #412.  Check mode was always returning changed=True for pip
when the target was in a virtualenv.  The code now uses the normal
tests for determining if change status.
10 years ago
Michael DeHaan 3ed1378067 Some more module categorization. 10 years ago