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

happy-kitchen-89482

03/10/2021, 5:53 PM
We don't have a way to explicitly depend on everything in a
requirements.txt
do we?
h

hundreds-father-404

03/10/2021, 5:54 PM
That's correct. We've avoided a syntax for globbing dependencies. Ameloriated by dep inference and worked around by using a generic
target()
as a bag of deps
h

happy-kitchen-89482

03/10/2021, 6:19 PM
Yeah but that
target
needs to enumerate all the deps
I have a use-case where a bunch of uninferrable deps need to be in the dist
h

hundreds-father-404

03/10/2021, 6:20 PM
Yeah but that target needs to enumerate all the deps
yeah
h

happy-kitchen-89482

03/10/2021, 6:20 PM
But it might not be a very generalizable use case
h

hundreds-father-404

03/10/2021, 6:20 PM
could write a macro to generate a
target
maybe
h

happy-kitchen-89482

03/10/2021, 6:49 PM
Oh yeah, not a bad idea
8 Views