in oss-model-connector/setup.py [0:0]
def run(self):
if not self.library_path:
raise RuntimeError("library path is not specified by '--library-path'")
self.library_path = os.path.abspath(self.library_path)
if os.path.exists(self.library_path):
print('library path:', self.library_path)
else:
raise RuntimeError("invalid library path: " + self.library_path)
for ext in self.extensions:
self.build_extension(ext)