[virt-bootstrap] [PATCH v4 07/26] tox: Enable sitepackages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux