python: --no-deps for pip should not be necessary
This commit is contained in:
parent
f8a6139159
commit
20938ae27b
1 changed files with 2 additions and 2 deletions
|
@ -180,12 +180,12 @@ define python::pip::install($source=undef) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use exec to install from local files, pip package provider does not
|
# Use exec to install from local files, pip package provider does not
|
||||||
# support extra arguments. --no-deps --no-index stops pip from accessing
|
# support extra arguments. --no-index stops pip from accessing
|
||||||
# pypi.
|
# pypi.
|
||||||
exec { "pip-install-${filename}":
|
exec { "pip-install-${filename}":
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
path => '/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin',
|
path => '/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin',
|
||||||
command => "pip install --no-deps --no-index --upgrade /usr/local/src/${filename}",
|
command => "pip install --no-index --upgrade /usr/local/src/${filename}",
|
||||||
subscribe => File["/usr/local/src/${filename}"],
|
subscribe => File["/usr/local/src/${filename}"],
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue