I want to create a BUILD for `project_a` where all...
# general
q
I want to create a BUILD for
project_a
where all the python files belong to that project which has its own
requirements.txt
and lockfile. But, one file, lets say
foo.py
, is used by another project,
project_b
, as the
entry_point
to its
pex_binary
target. How should I do this? I have tried to make a
python_sources
target with all python files except
foo.py
and a
python_source
target called
foo
just for
foo.py
. The
foo
target has
resolve=parametrize("A", "B")
where A and B are lockfiles of
project_a
and
project_b
respectively. This still doesn't work