From 95747cdbb5e5e7378fd2a8f74a01f0d44bf90e74 Mon Sep 17 00:00:00 2001 From: Steven Pecht Date: Wed, 7 May 2014 14:18:26 -0400 Subject: Added timeout option to python::pip The default timeout is set to 1800. The same default as virtual environement installations. A timeout parameter is needed for long running installs such as SciPy. --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 444b3b7..3632cd8 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ Installs and manages packages from pip. **uninstall_args** - Array of additional flags to pass to pip during uninstall. Default: none +**timeout** - Timeout for the pip install command. Defaults to 1800. + python::pip { 'cx_Oracle': pkgname => 'cx_Oracle', virtualenv => '/var/www/project1', @@ -77,6 +79,7 @@ Installs and manages packages from pip. proxy => 'http://proxy.domain.com:3128', environment => 'ORACLE_HOME=/usr/lib/oracle/11.2/client64', install_args => ['-e'], + timeout => 1800, } ### python::requirements -- cgit v1.2.3