Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
- black black black
  • Loading branch information
carlkidcrypto committed Jun 14, 2024
1 parent cd17f82 commit 89ce826
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

1 comment on commit 89ce826

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valgrind Comment

Python Version Results OS Version
3.8 sh ==8302== LEAK SUMMARY: ==8302== definitely lost: 112 bytes in 7 blocks ==8302== indirectly lost: 0 bytes in 0 blocks ==8302== possibly lost: 89,896 bytes in 143 blocks ==8302== still reachable: 2,368,891 bytes in 1,478 blocks ==8302== suppressed: 0 bytes in 0 blocks ==8302== Reachable blocks (those to which a pointer was found) are not shown. ==8302== To see them, rerun with: --leak-check=full --show-leak-kinds=all ubuntu-latest
3.9 sh ==8201== LEAK SUMMARY: ==8201== definitely lost: 112 bytes in 7 blocks ==8201== indirectly lost: 0 bytes in 0 blocks ==8201== possibly lost: 296,033 bytes in 457 blocks ==8201== still reachable: 2,597,324 bytes in 1,705 blocks ==8201== suppressed: 0 bytes in 0 blocks ==8201== Reachable blocks (those to which a pointer was found) are not shown. ==8201== To see them, rerun with: --leak-check=full --show-leak-kinds=all ubuntu-latest
3.10 sh ==8212== LEAK SUMMARY: ==8212== definitely lost: 112 bytes in 7 blocks ==8212== indirectly lost: 0 bytes in 0 blocks ==8212== possibly lost: 257,168 bytes in 391 blocks ==8212== still reachable: 1,938,397 bytes in 1,625 blocks ==8212== suppressed: 0 bytes in 0 blocks ==8212== Reachable blocks (those to which a pointer was found) are not shown. ==8212== To see them, rerun with: --leak-check=full --show-leak-kinds=all ubuntu-latest
3.11 sh ==8192== LEAK SUMMARY: ==8192== definitely lost: 3,936 bytes in 11 blocks ==8192== indirectly lost: 8,579 bytes in 9 blocks ==8192== possibly lost: 3,568 bytes in 5 blocks ==8192== still reachable: 3,679,410 bytes in 2,776 blocks ==8192== suppressed: 0 bytes in 0 blocks ==8192== Reachable blocks (those to which a pointer was found) are not shown. ==8192== To see them, rerun with: --leak-check=full --show-leak-kinds=all ubuntu-latest
3.12 sh ==8193== LEAK SUMMARY: ==8193== definitely lost: 3,952 bytes in 11 blocks ==8193== indirectly lost: 1,026 bytes in 2 blocks ==8193== possibly lost: 3,568 bytes in 5 blocks ==8193== still reachable: 3,601,013 bytes in 2,738 blocks ==8193== suppressed: 0 bytes in 0 blocks ==8193== Reachable blocks (those to which a pointer was found) are not shown. ==8193== To see them, rerun with: --leak-check=full --show-leak-kinds=all ubuntu-latest

Please sign in to comment.