I used uv to to create the package. for adding shared libraries I simply placed them in src folder of the package and called uv build. And then the shared libraries available after users install the package in the same folder of the package.
uv build