https://pantsbuild.org/ logo
a

aloof-angle-91616

09/21/2020, 3:05 PM
there are no contents required in a BUILD file, but if you specify e.g.
Copy code
python_library(
  sources=['*.py'],
)
it will only pick up python files in the current directory. to make it see through recursive subdirectories, you would want:
Copy code
python_library(
  sources=['**/*.py'],
)