Skip to content

Commit

Permalink
remove debugging stuff, switch to ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed May 7, 2024
1 parent e6acd0c commit f8f25c9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ python -m auditwheel repair \
-w final_dist \
--exclude "libucm.so.0" \
--exclude "libucp.so.0" \
--exclude "libucx.so.0" \
--exclude "libucs.so.0" \
--exclude "libuct.so.0" \
dist/*
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requires = [
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[project]
name = "ucx-py-cu12"
name = "ucx-py"
dynamic = ["version"]
description = "Python Bindings for the Unified Communication X library (UCX)"
readme = { file = "README.md", content-type = "text/markdown" }
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# library_dirs so it'll be linked against
#
# NOTE: doing this '.__file__' stuff because `sysconfig.get_path("platlib")` and similar
# can return paths to the main Python interpreters' installation locations...
# can return paths to the main Python interpreter's installation locations...
# not where 'libucx' is going to be installed at build time when using
# build isolation
try:
Expand Down
2 changes: 1 addition & 1 deletion ucp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Otherwise, we assume that the library was installed in a system path that ld can find.
try:
import libucx
except ModuleNotFoundError:
except ImportError:
pass
else:
libucx.load_library()
Expand Down

0 comments on commit f8f25c9

Please sign in to comment.