If I have a wheel file in my repository (git lfs u...
# general
p
If I have a wheel file in my repository (git lfs under the hood).. how can I install that into pants?
Instead of checked in can this be a http_source resource? 🤔
h
Yeah, that is how you'd handle a local wheel
Re serving this wheel over http, you could either use
find_links
to point to a links page you create, or serve from a custom PyPI-like index
p
Interesting idea.
When setting a local repository as a dependency what does the target look like? from my build requirements I get things like this..
Copy code
.build/requirements:reqs-dev#pytest
If I had say third_party/extwhl/BUILD with a local repository defined. What would the dependency look like?
Copy code
third_party/extwhl:libcamera
?
Also is there a way to declare a depdency on another dependency? I have a whl for libcamera, and scicamera needs libcamrea.
h
And then specify requirements the normal way, e.g.,
libcamera==x.y.z
This is the same as you would do for pip