rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Package .libs not included in BUILD

Open lromor opened this issue 3 years ago • 1 comments

🚀 feature request

Relevant Rules

pip_parse, requirement

Description

It looks like some PyPI libraries such as cffi have a cffi.libs in their wheel containing specific library versions they are wrapping.

BUILD.bazel
cffi
cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
cffi-1.15.0.dist-info
_cffi_backend.cpython-39-x86_64-linux-gnu.so
cffi.libs
WORKSPACE

What's the recommended approach in this case?

Describe the solution you'd like

I'm not experienced enough to know if this .libs folder is a standard location, but it would be nice to include those as well as automatic dependencies of the python library.

Describe alternatives you've considered

Maybe just exposing the downloaded file and manually create a cc_import could suffice?

lromor avatar May 18 '22 12:05 lromor

If Im not mistaken, that is the default location where auditwheel will patch and copy relevant libraries on linux.

groodt avatar Jun 09 '22 21:06 groodt

This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"

github-actions[bot] avatar Sep 13 '22 22:09 github-actions[bot]