curved-manchester-66006
03/15/2022, 3:13 PMpants export
, but there isn't any magic 'out of the box'. Is that right? (I saw https://github.com/pantsbuild/pants/issues/13260)
⢠Pants itself is bootstrapped as a python app with a rust core (python code calling rust), but there isn't a blessed/official/supported way to have python targets depending on rust targets today?enough-analyst-54434
03/15/2022, 3:17 PMpython_distribution
target that wraps up your Rust build if that ~works (If you use something like https://github.com/PyO3/setuptools-rust).bitter-ability-32190
03/15/2022, 3:18 PMpython_distribution
. All the pieces should exist to allow you to compile a Rust C Python extension and have your Python code call it. However some of that process requires careful wiring/setup on your machine.enough-analyst-54434
03/15/2022, 3:20 PMpython_distribution
(https://www.pantsbuild.org/docs/python-distributions), that's how some folks get by today for Python -> Cython, although there is work towards a 1st class Cython support plugin.curved-manchester-66006
03/15/2022, 3:27 PM