PEX not found resources #21777
Unanswered
allcupsnotinprivate
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Change This is an incredibly common pitfall that apparently still exists in Pants many years later and, from what I can tell, is still not documented in the likely places. For example, here: https://www.pantsbuild.org/stable/docs/python/overview/pex. Better, the command line invocation of You can see a working example of including resources here: https://github.com/pantsbuild/example-python/tree/main/helloworld/greet |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a service with the following structure:
Contents of the BUILD file:
The problem is that the resulting .pex file does not contain any resources (specifically "data/config.json"). Why does this happen?
Beta Was this translation helpful? Give feedback.
All reactions