https://pantsbuild.org/ logo
#general
Title
# general
f

fierce-park-88503

03/28/2019, 2:35 PM
question about building wheels out of pants targets: I have a python_library target that I want to export as a wheel. it depends on some internal code (python_library targets) which I would like packaged into the wheel, and some 3rdparty deps which I would like to be listed in the wheel’s requirements. when running
./pants setup-py --run=bdist_wheel thing/I/want/a/wheel/for
, I get: “No exported target owner found for PythonLibrary(BuildFileAddress(an/internal/python_library/target/I/depend/BUILD.pants, on))” reading https://github.com/pantsbuild/pants/blob/60197188cb02f7ff60ac723f12780353fb2f2ee9/src/python/pants/backend/python/tasks/setup_py.py#L223, it seems like this shouldn’t be an issue.
thing/I/want/a/wheel/for
does have a provides attribute, and it depends on
an/internal/python_library/target/I/depend:on
, which seems like it should make the former an owner for the latter. am I misunderstanding something?
2 Views