Commit graph

23 commits

Author SHA1 Message Date
Brian Coca
4d2cdfe324 made note about choice availability in ansible ver 2016-01-11 18:22:41 -05:00
Brian Coca
8e066cd124 Merge pull request #2600 from cinerama70/pip-force-reinstall
Add support for pip force-reinstall
2016-01-11 18:17:50 -05:00
Michael Scherer
860635d38c Add more precise documentation on the requirements parameter
Fix #427
2015-12-22 16:20:37 +01:00
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.
2015-12-01 12:03:54 -08:00
Daniele Varrazzo
c860af29b2 Detect unchanged pip runs when using a vcs url in name
Should fix bug #1645
2015-11-03 14:51:23 +00:00
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
2015-11-03 14:49:38 +00:00
Felix Engelmann
2a97e9f299 re-implements #226
in optional (editable) way 
with backward compatibility
2015-11-03 12:45:00 +01:00
Brian Coca
22bfb54d9d added comment explaining chdir defaults 2015-10-07 12:19:50 -04:00
Brian Coca
a639da7c44 default chdir to tmpdir to avoid virtualenv issues 2015-10-07 12:18:36 -04:00
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.
2015-10-07 10:38:47 -04:00
Yuhui Huang
51666c6def Checking pip uninstall output in both stdout and stderr 2015-07-21 16:07:25 -07:00
Brian Coca
1dafa427c3 added versionadded to new option in pip module 2015-07-20 20:53:33 -04:00
Brian Coca
5c17fd3f9a Merge pull request #629 from wbolster/issue-586-virtualenv-python-version
Add virtualenv_python arg to pip module
2015-07-20 20:46:30 -04:00
Brian Coca
a0d663bc65 Merge pull request #413 from JimPatterson/412_pip_check_venv
Correct check mode for pip in virtualenv.
2015-06-29 18:17:59 -04:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Florian Apolloner
7f4f89abda Added os.path.expanduser when searching for pip executable. 2015-03-29 21:06:36 +02:00
giovtorres
7e8a518592 Added pip example installing from local tarball 2015-02-10 14:56:16 -05:00
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.
2015-01-28 12:46:20 +01:00
Wouter Bolsterlee
19b49c1d96 A few coding style cleanups 2015-01-28 12:46:20 +01:00
Wouter Bolsterlee
fd061d437c Fix typo in version_added field. 2015-01-28 12:46:20 +01:00
Toshio Kuratomi
c3a0e8a7a4 Don't fial if virtualenv is not installed and we do not need to initialize the virtualenv
Fixes #688
2015-01-22 18:05:54 -08:00
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.
2014-11-30 19:31:09 -05:00
Michael DeHaan
3ed1378067 Some more module categorization. 2014-11-04 17:23:22 -05:00
Renamed from packaging/pip.py (Browse further)