Add setup.py for common OPNFV modules 03/24403/4
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 16 Nov 2016 11:53:12 +0000 (12:53 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 16 Nov 2016 15:46:58 +0000 (16:46 +0100)
JIRA: RELENG-161

Change-Id: I2423493d0c9c9c4ce78fe8c2669b9ed24e697b58
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
modules/README.rst
modules/setup.py [new file with mode: 0644]

index 7c91eca..de9ff55 100644 (file)
@@ -4,8 +4,7 @@ project in OPNFV. This tools must be python based and shall be imported
 as follows:
 
   from opnfv.utils import SSHUtils
-  from opnfv.utils import RelengLogger
-  ...
+  from opnfv.utils import OPNFVLogger
 
 For further information about how to use this modules directory, contact:
   fatih.degirmenci@ericsson.com
diff --git a/modules/setup.py b/modules/setup.py
new file mode 100644 (file)
index 0000000..26f8a6e
--- /dev/null
@@ -0,0 +1,21 @@
+##############################################################################
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+from setuptools import setup, find_packages
+
+
+setup(
+    name="opnfv",
+    version="danube",
+    packages=find_packages(),
+    include_package_data=True,
+    package_data={
+    },
+    url="https://www.opnfv.org",
+    install_requires=["paramiko>=2.0.1"]
+)