Use find_packages when installing sdnvpn 23/26423/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Thu, 22 Dec 2016 08:42:08 +0000 (09:42 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Thu, 22 Dec 2016 08:42:08 +0000 (09:42 +0100)
If we specify only the module 'sdnvpn', it
won't install the sub-modules 'lib' and 'functest'.
With find_packages there is no need to specify
the package names.

Change-Id: If7606a2cedbd6f7b8866747e748eadaa8b9bd5e7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
setup.py

index 6347eb8..a637260 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,13 +6,13 @@
 ##############################################################################
 
 
-from setuptools import setup
+from setuptools import setup, find_packages
 
 
 setup(
     name="sdnvpn",
     version="danube",
-    packages=['sdnvpn'],
+    packages=find_packages(),
     include_package_data=True,
     package_data={},
     url="https://www.opnfv.org")