From 89ce826a48657b046cacc76cf2f5af25311cb77b Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 14 Jun 2024 15:47:52 -0700 Subject: [PATCH] Update setup.py - black black black --- setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 03150c8f..f439d066 100644 --- a/setup.py +++ b/setup.py @@ -179,13 +179,15 @@ def run(self): .decode() .strip() ) - + if linked: # install_name_tool -change /opt/homebrew/opt/net-snmp/lib/libnetsnmp.40.dylib /opt/homebrew/Cellar/net-snmp/5.9.4/lib/libnetsnmp.dylib build/lib.macosx-10.9-universal2-cpython-39/ezsnmp/interface.cpython-39-darwin.so - cmd_to_run = "install_name_tool -change {0} {1} {2}/ezsnmp/interface{3}".format( + cmd_to_run = ( + "install_name_tool -change {0} {1} {2}/ezsnmp/interface{3}".format( linked, lib_dir, b.build_platlib, ext ) - + ) + print("cmd_to_run: ", cmd_to_run) _ = check_output( cmd_to_run,