From c1987d8d80efa56ff2e6ee7987aefff0ea0bf9fd Mon Sep 17 00:00:00 2001 From: beierlm Date: Tue, 20 Jun 2023 21:31:53 +0200 Subject: [PATCH] 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 --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.17.1