Toshio Kuratomi
b4f1d0d0c2
Fix pip freeze workaround with virtualenv ( #4951 )
8 years ago
Toshio Kuratomi
5b1994cb42
pip list isn't available on pip less than 1.3 so make a fallback ( #4947 )
8 years ago
Toshio Kuratomi
70d4ff8e38
Fix parsing of pip output
8 years ago
Rob Cutmore
12a7027c49
Pip: use 'pip list' when available for package list ( #4644 )
...
* Pip: handle parsing different pip commands
* Pip: use 'pip list' when available
* Pip: explicitly check which command is used
* Pip: add error checking when fetching packages
8 years ago
Toshio Kuratomi
958d894c61
We've decided that pythn 3.5 is the minimum python3 version ( #4572 )
8 years ago
Guillaume Delpierre
2a25e27979
gem: add support for --env-shebang ( #4377 )
...
* gem: add support for --env-shebang
* fix version added
8 years ago
Evan
b5ad8b83be
pip: Fix uninitialized variable during check_mode ( #4379 )
...
During check_mode (`--check`), the variable change could be
used uninitialized, yielding this error:
`UnboundLocalError: local variable 'changed' referenced before assignment`
This changeset simply initializes it to False.
8 years ago
Brian Coca
642221414f
name was the issue, not pkg
8 years ago
Brian Coca
f176b767c6
protect another portion against None name
8 years ago
Brian Coca
3c76c3669e
another fix for None in name
8 years ago
Brian Coca
97d70d948d
avoid traceback when name is None
8 years ago
Brian Coca
a3c5d072e0
allow pip to take a list of names ( #4056 )
...
also simplified argspec by removing defaults
8 years ago
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
Michael Scherer
1ac7382dd4
Change gem_source and executable to 'path'
...
Both of them are file location, so they should be
marked as 'path'.
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
Brian Coca
cf2be9607c
Merge pull request #533 from thataustin/devel
...
Updating rubygems --no-document param
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
Austin Brown
bb816f046c
Adding version detection
10 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
Austin Brown
3c72e87152
Merge branch 'devel' of github.com:ansible/ansible-modules-core into devel
...
Conflicts:
packaging/language/gem.py
10 years ago
Brian Coca
7a33832606
fixed typo
10 years ago
Brian Coca
665265d285
Merge pull request #60 from az7arul/devel
...
added `include_doc` option
10 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
az7arul
627933049c
add `include_doc` option
10 years ago
Brian Coca
abcd276955
Merge pull request #963 from u2ix/devel
...
Allow to add build flags for gem installation
10 years ago
Vasyl Kaigorodov
f0dc27227c
Fix "_is_package_installed() takes exactly 4 arguments, 3 provided" error
10 years ago
Schlueter
1030cb48a7
Add 'version_added' to state documentation for easy_install resource
10 years ago
Schlueter
17544062ec
Correct reference to gem in easy_install resource
10 years ago
Schlueter
02cd8489c1
Add Documentation
10 years ago
Schlueter
3bae8bda10
Use standard if statement to check state in easy_install resource
10 years ago
Schlueter
9b6a741615
Correct pass by object reference issue
10 years ago
Schlueter
9468a65bed
Add state to easy_install
10 years ago
Florian Apolloner
7f4f89abda
Added os.path.expanduser when searching for pip executable.
10 years ago
Demian Gemperli
9a6eba43ef
Allow to add build flags for gem installation
10 years ago