X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=setup.py;h=f59e790780083a3f52ea8196bda3581fc6259486;hp=ef8da90c5dffe8cde7c72ef89d80532af19c1050;hb=361145b8cad9af57ec8102e5e7d83f2e7b22508c;hpb=9993c733fd1bf9dfd6610f8acfd66d12b44beab3;ds=sidebyside diff --git a/setup.py b/setup.py index ef8da90..f59e790 100644 --- a/setup.py +++ b/setup.py @@ -33,11 +33,8 @@ class Install_osm_im(install): self.pipinstall('pyang') self.pipinstall('pyangbind') import pyangbind - print("Creating dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir)) + print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir)) path = "{}/{}".format(os.getcwd(), self.im_dir) - if not os.path.exists(path): - os.makedirs(path) - open("{}/{}/__init__.py".format(os.getcwd(), self.im_dir), 'a').close() for files_item in ['vnfd', 'nsd', 'nst']: protoc_command = ["pyang", "-Werror",