From: garciadeblas Date: Mon, 16 Oct 2023 07:02:46 +0000 (+0200) Subject: Fix osm-im installation from setup X-Git-Tag: v14.0.1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d9dea7b9b47863c2d224d216a05c194234e6837d;p=osm%2FIM.git Fix osm-im installation from setup Change-Id: Id690fbda457952ad2cebfbd904161f438a6d69f4 Signed-off-by: garciadeblas --- diff --git a/devops-stages/stage-archive.sh b/devops-stages/stage-archive.sh index 3999e8d..84e1041 100755 --- a/devops-stages/stage-archive.sh +++ b/devops-stages/stage-archive.sh @@ -20,6 +20,6 @@ rm -rf pool rm -rf dists mkdir -p pool/$MDG # Move python3-osm-im deb package to pool/$MDG folder -mv deb_dist/*.deb pool/$MDG/ +mv deb_dist/python3-osm-im*.deb pool/$MDG/ # Move osm-imdocs deb package to pool/$MDG folder -mv *.deb pool/$MDG/ +mv osm-imdocs*.deb pool/$MDG/ diff --git a/setup.py b/setup.py index ec75988..4cd2be2 100644 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ class Install_osm_im(install): subprocess.call([sys.executable, "-m", "pip", "install", package]) def run(self): - self.pipinstall('pyang') - self.pipinstall('pyangbind') + 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)