Bottlenecks frame support stack create 55/26555/3
authorliyin <liyin11@huawei.com>
Wed, 28 Dec 2016 06:25:06 +0000 (14:25 +0800)
committerAce Lee <liyin11@huawei.com>
Wed, 4 Jan 2017 03:02:12 +0000 (03:02 +0000)
JIRA: BOTTLENECK-120

add the common.py,manager.py,template.py,
could use the function
import utils.infra_setup.heat.x
then the code could import the package.

Change-Id: I7bbd115bd13d87c4f43b7e4bb35e6a6bf8465bc8
Signed-off-by: liyin <liyin11@huawei.com>
setup.py
utils/__init__.py [new file with mode: 0644]
utils/infra_setup/__init__.py [new file with mode: 0644]

index 38b8546..55b89cc 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,9 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     package_data={
+        'utils': [
+            'utils/infra_setup/heat/*.py'
+        ]
     },
     url="https://www.opnfv.org",
     install_requires=["click"],
diff --git a/utils/__init__.py b/utils/__init__.py
new file mode 100644 (file)
index 0000000..3872728
--- /dev/null
@@ -0,0 +1,8 @@
+##############################################################################
+# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
+#
+# 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
+##############################################################################
\ No newline at end of file
diff --git a/utils/infra_setup/__init__.py b/utils/infra_setup/__init__.py
new file mode 100644 (file)
index 0000000..3872728
--- /dev/null
@@ -0,0 +1,8 @@
+##############################################################################
+# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
+#
+# 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
+##############################################################################
\ No newline at end of file