From: beierlm Date: Tue, 20 Jun 2023 19:31:53 +0000 (+0200) Subject: Revert "Remove unused code" X-Git-Tag: release-v14.0-start^0 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=commitdiff_plain;h=c1987d8d80efa56ff2e6ee7987aefff0ea0bf9fd Revert "Remove unused code" This reverts commit bd458dbed1a932a5a97fb245f378f5a16d6642d4. Reason for revert: Build failures - https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/master/509/ - https://osm.etsi.org/jenkins/job/osmclient-stage_2-merge/job/master/385/ Change-Id: I271aa7111db3ce8090269627da102788d9324c28 Signed-off-by: Mark Beierl --- diff --git a/setup.py b/setup.py index 4d1c9e9..ec75988 100644 --- 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): + self.pipinstall('pyang') + self.pipinstall('pyangbind') + 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)