icy-answer-98802
06/13/2023, 12:27 PMbroad-processor-92400
06/13/2023, 8:43 PMpants dependencies --transitive path/to/subproject/entrypoint.py
to first list out everything your subproject depends on and then filter/peek it to pick out the python_requirement
targets. This has some limitations, but might be a good enough starting point?broad-processor-92400
06/13/2023, 8:47 PMpex_binary
as normal, and then transform the PEX with Nukita (eg extract the contents to a venv and compile it)
• use a python_distribution
with a setup.py similar to how some others use Cython, I believe
• use a pants plug-in that runs nukita similar to how there’s a plug-in for pyoxidizer?
That said, I’m completely unfamiliar with how nukita works, so none of these may make sense