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

ambitious-actor-36781

01/22/2023, 9:06 PM
the documentation talks about allowing 3rd party libraries on disk in
python_requirements
but only ever mentions files external to the repository. Is there a way to include .zip/.whl files in the repository?
e

enough-analyst-54434

01/22/2023, 9:12 PM
There are roughly 18 ways to do this. One is to configure: https://www.pantsbuild.org/docs/reference-python-repos#find_links
[python-repos] find_links = ["%(buildroot)s/repo/relative/path/to/dir/containing/distributions"]
Then you'd just use normal requirement strings.
a

ambitious-actor-36781

01/22/2023, 9:12 PM
ahh, missed that in the docs. cheers
3 Views