Added validation class to IM to be used by other modules
Change-Id: I219dac271de3a760ec34fc4b79d681fd4b823bbb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/setup.py b/setup.py
index ef8da90..f59e790 100644
--- a/setup.py
+++ b/setup.py
@@ -33,11 +33,8 @@
self.pipinstall('pyang')
self.pipinstall('pyangbind')
import pyangbind
- print("Creating dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
+ print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
path = "{}/{}".format(os.getcwd(), self.im_dir)
- if not os.path.exists(path):
- os.makedirs(path)
- open("{}/{}/__init__.py".format(os.getcwd(), self.im_dir), 'a').close()
for files_item in ['vnfd', 'nsd', 'nst']:
protoc_command = ["pyang",
"-Werror",