projects
/
osm
/
IM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add NS configuration augment
[osm/IM.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
ef8da90
..
f59e790
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-33,11
+33,8
@@
class Install_osm_im(install):
self.pipinstall('pyang')
self.pipinstall('pyangbind')
import pyangbind
self.pipinstall('pyang')
self.pipinstall('pyangbind')
import pyangbind
- print("
Creat
ing dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
+ print("
Us
ing dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
path = "{}/{}".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",
for files_item in ['vnfd', 'nsd', 'nst']:
protoc_command = ["pyang",
"-Werror",