clever-gigabyte-29368
12/02/2023, 6:04 PMpants run my_pex_binary_target
will rebuild from scratch. Could someone suggest how to troubleshoot?happy-kitchen-89482
12/02/2023, 10:22 PMhappy-kitchen-89482
12/02/2023, 10:22 PMpants run my_pex_binary_target
is shorthand for "build a .pex, then run it`happy-kitchen-89482
12/02/2023, 10:22 PMpants run path/to/main.py
skips the whole pex building parthappy-kitchen-89482
12/02/2023, 10:22 PMclever-gigabyte-29368
12/03/2023, 8:21 PMclever-gigabyte-29368
12/03/2023, 8:24 PMhappy-kitchen-89482
12/03/2023, 11:08 PMpython_sources()
, (which generates python_source targets under the covers)clever-gigabyte-29368
12/03/2023, 11:56 PMa
b
c
. The three folders are for different apps of the same Django project.
• at the top level, there are also utility scripts like manage.py
• for the top level BUILD file, when I define a python_sources
, for the sources filed of this target:
◦ is it better to be **/*.py
which includes all the python source files under folders a
b
c
?
◦ or would it be better to just leave it as default, and define python_sources
in each of the a
b
c
folders respectively?happy-kitchen-89482
12/04/2023, 12:10 AMhappy-kitchen-89482
12/04/2023, 12:10 AMhappy-kitchen-89482
12/04/2023, 12:11 AMoverrides=
to override field values for specific files anywayclever-gigabyte-29368
12/04/2023, 12:20 AMIt depends on whether you want different target field values in each app, which seems unlikelyYep, I don’t need to. So it seems make more sense to have a single python_sources target for the entire project? Thanks
happy-kitchen-89482
12/04/2023, 12:27 AMpants tailor
do its thinghappy-kitchen-89482
12/04/2023, 12:27 AM