thankful-needle-74204
10/09/2018, 12:07 PMenough-analyst-54434
10/09/2018, 1:04 PMpython_library
BUILD target) or third party. Secondly, in the third party case, the dependency is on a python_requirement_library
or requirements.txt file via python_requirements
. I'll stop there to find out more about your dependency setup.What do you mean by "compiled" - what types of targets are these?target that has local dependencies that are compiled ...python_binary
thankful-needle-74204
10/09/2018, 1:26 PMpackage
a.py
b.py
__init__.py
a.py and b.py are created during a taskenough-analyst-54434
10/09/2018, 1:35 PMthankful-needle-74204
10/09/2018, 3:20 PMenough-analyst-54434
10/09/2018, 3:23 PMtargetA -> targetB
targetB has python code generated from the files it owns.
Then:
The code generating task:
1. generates py files from targetB
2. creates a "synthetic" target targetBprime whose sources are the generate files from step 1
3. adds a dependency on targetBprime to targetAtargetA -> [targetB, targetBprime]
thankful-needle-74204
10/09/2018, 3:37 PM