| commit | c1987d8d80efa56ff2e6ee7987aefff0ea0bf9fd | [log] [tgz] |
|---|---|---|
| author | beierlm <mark.beierl@canonical.com> | Tue Jun 20 21:31:53 2023 +0200 |
| committer | beierlm <mark.beierl@canonical.com> | Tue Jun 20 21:31:53 2023 +0200 |
| tree | 50b4f92805262bbab291d4c7a11bc71df091071c | |
| parent | bd458dbed1a932a5a97fb245f378f5a16d6642d4 [diff] [blame] |
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 <mark.beierl@canonical.com>
diff --git a/setup.py b/setup.py index 4d1c9e9..ec75988 100644 --- a/setup.py +++ b/setup.py
@@ -30,6 +30,12 @@ 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)