curved-manchester-6600603/15/2022, 3:13 PM
, 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-5443403/15/2022, 3:17 PM
target that wraps up your Rust build if that ~works (If you use something like https://github.com/PyO3/setuptools-rust).
bitter-ability-3219003/15/2022, 3:18 PM
. 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-5443403/15/2022, 3:20 PM
(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-6600603/15/2022, 3:27 PM