projects
/
osm
/
IM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update openjdk version to 19 and yang2swagger version to 2.1.0
[osm/IM.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
4d1c9e9
..
4cd2be2
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-30,6
+30,12
@@
class Install_osm_im(install):
subprocess.call([sys.executable, "-m", "pip", "install", package])
def run(self):
subprocess.call([sys.executable, "-m", "pip", "install", package])
def run(self):
+ self.pipinstall('pyang==2.5.3')
+ self.pipinstall('pyangbind==0.8.3.post1')
+ import pyangbind
+ print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
+ path = "{}/{}".format(os.getcwd(), self.im_dir)
+
protoc_command = ["make", "models"]
if subprocess.call(protoc_command) != 0:
sys.exit(-1)
protoc_command = ["make", "models"]
if subprocess.call(protoc_command) != 0:
sys.exit(-1)