refined-addition-53644
12/10/2021, 4:37 PMsources
set to glob pattern like dir_name/***/**.py
. With the glob pattern the issue is that the sub-modules can be owned by two targets - one at the top level and the other one from the nested sub packages with BUILD files.happy-kitchen-89482
12/10/2021, 4:50 PMsources=['**/*.py']
will capture everything in the BUILD file's directory and below ithappy-kitchen-89482
12/10/2021, 4:50 PMhappy-kitchen-89482
12/10/2021, 4:51 PMsources
should work)happy-kitchen-89482
12/10/2021, 4:51 PM./pants tailor
will create by defaulthappy-kitchen-89482
12/10/2021, 4:52 PMrefined-addition-53644
12/10/2021, 4:55 PMtests
dependencies on the underlying python package, something like what's mentioned in this v1 documentation section
BUILD for Testshttps://v1.pantsbuild.org/python_readme.html