I want to make some .mo translation files availabl...
# general
c
I want to make some .mo translation files available to my program at runtime so I added a target
Copy code
resources(name="locale", sources=["**/*.mo"])
but Pants seems to ignore them? They don't show up when I run
pants dependencies
Is Pants filtering binary files or something?
c
unless you have a string like
"src/some/file.mo"
in your sources and
[python-infer] assets=true
you will need to also add the
resource
target to your source dependencies explicitly.
python_sources(dependences=["src/path/to/target:locale"])
.
c
I'm aware of that and I've done that, but the binary .mo files seem to get ignored