Hello - I am dealing with a pesky third party depe...
# general
r
Hello - I am dealing with a pesky third party dependency. Only a source distribution is provided.
setup.py
script imports
numpy
which is not not specified either using
setup_requires
or
PEP-518 build-system requires
. Is there any pants mechanism to patch this type of undeclared dependency? https://www.pantsbuild.org/docs/python-third-party-dependencies#requirements-with-undeclared-dependencies addresses a similar issue, but not for build-dependencies.
e
There is not. You currently need to pre-build the wheel variants you need and host them on a custom index or custom find-links and configure `[python-repos]`: https://www.pantsbuild.org/docs/reference-python-repos
r
Ok thanks. 👍