[virt-bootstrap] [PATCH v4 05/26] setup: Use find_packages()

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

 



The find_packages() [1] function returns a list of package names
suitable for use as the packages argument to setup().

[1] http://setuptools.readthedocs.io/en/latest/setuptools.html#using-find-packages
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 2d06144..54e24a2 100755
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ setuptools.setup(
     # What does your project relate to?
     keywords='virtualization container rootfs',
     package_dir={"": "src"},
-    packages=['virtBootstrap'],
+    packages=setuptools.find_packages('src'),
     test_suite='tests',
     entry_points={
         'console_scripts': [
-- 
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