[virt-tools-list] [virt-bootstrap] [PATCH v4 07/26] tox: Enable	sitepackages
    Radostin Stoyanov 
    rstoyanov1 at gmail.com
       
    Thu Aug  3 13:13:05 UTC 2017
    
    
  
Set sitepackages[1] to True to allow virtual environments to also have
access to globally installed packages.
[1] http://tox.readthedocs.io/en/latest/config.html#confval-sitepackages=True|False
---
 tox.ini | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/tox.ini b/tox.ini
index e3f35cc..2447889 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,4 +20,6 @@
 envlist = py27,py3
 
 [testenv]
+# Virtual environments will also have access to globally installed packages.
+sitepackages=True 
 commands={envpython} {toxinidir}/setup.py test
-- 
2.13.3
    
    
More information about the virt-tools-list
mailing list