summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-11-16 12:53:12 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-11-16 16:46:58 +0100
commite310e1a4ba195579bd2114dfe25f0c242eb25abb (patch)
treeef19c99abc3f46de82a55c623a654721648f3c39 /modules
parent03d40b81352f1f9de985f2cf598ac6c18be13b69 (diff)
Add setup.py for common OPNFV modules
JIRA: RELENG-161 Change-Id: I2423493d0c9c9c4ce78fe8c2669b9ed24e697b58 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/README.rst3
-rw-r--r--modules/setup.py21
2 files changed, 22 insertions, 2 deletions
diff --git a/modules/README.rst b/modules/README.rst
index 7c91eca5a..de9ff559f 100644
--- a/modules/README.rst
+++ b/modules/README.rst
@@ -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
index 000000000..26f8a6eaa
--- /dev/null
+++ b/modules/setup.py
@@ -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"]
+)