Repalce pip wheel --version with pip show wheel
Previously (prior to version 10, I think), pip wheel --version would exit 0 when wheel was installed even though it complained about wanting more arguments. Now that same command exits 1 which negates its purpose. Using pip wheel show accomplishes the same goal as was originally intended.
Refactored to reduce duplication and ease reading
The commands were SOOO long before this that they were really hard to follow. While deciphering them I noticed a lot of duplication from command to command and on each side of the ||'s. I pulled most of the duplicated code out into some variables which provides two benefits: 1) a single place to update the common components 2) easier to read exec's
Replace --no-use-wheel with --no-binary :all:
--no-use-wheel has been depreciated since at least pip 8.
Merge pull request #389 from genebean/fix_pip_wheel_checks
Fix pip wheel checks
Merge pull request #390 from bryangwilliam/pip_extras
add pip support for setuptools extras
Merge pull request #391 from daylicron/master
virtualenv.pp: make creation of $venv_dir optional
Merge pull request #392 from voxpupuli/modulesync
modulesync 1.9.1
Merge pull request #403 from voxpupuli/readme-update
Add deprecation notice
Update README compatibility section
* remove EOL operating systems * updated supported puppet versions * remove ruby version section
Merge pull request #404 from bastelfreak/secrets
add secret for forge deployment via travis
Merge pull request #405 from rkcpi/readme-compatibility-section
Update README compatibility section
Merge pull request #368 from jstaph/master
Add umask parameter to pip execs
Merge pull request #407 from voxpupuli/modulesync
modulesync 1.9.2
Merge pull request #408 from voxpupuli/remove-docker-nodesets
Remove docker nodesets
According to the rest of the code `version` (if custom) is expected to contain package name with version.
Merge pull request #410 from fklajn-opera/fix_version_inconsistency
Fix Python version regex in install.pp
Merge pull request #409 from grsakea/anaconda
Add support for Anaconda