[virt-tools-list] [virt-bootstrap] [PATCH v3 05/24] setup: Use find_packages()

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Aug 2 12:08:19 UTC 2017


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




More information about the virt-tools-list mailing list