eli-schwartz commented on issue #36411: URL: https://github.com/apache/arrow/issues/36411#issuecomment-3910134295
> Judging by this one, meson-python doesn't support editable installs? It certainly does. Simply use `pip install -e .` as usual. Meson-python will by default make the C++ code "editable" as well (starting a python interpreter and importing the editable module, will trigger a ninja rebuild for all compiled extensions). > Also, I wonder if this port supports bundling the Cython-generated C++ code, and other similar options that we currently have? (they are not blockers, but they also explain some of the current complexity) `meson.add_dist_script()` can bundle up additional source files, including cython ones. It may require a bit of glue to set up. It is still on my todo list to add native meson support for bundling generated sources (the idea would be to simply add an annotation to existing targets), but Meson is of course written entirely in python and thus eminently hackable by developers of python modules, which is an advantage to submitting PRs adding new features. :) My understanding is that for Cython in particular this is a bit unpopular since the generated files tend to get rapidly out of date as new Python versions are released. My personal motivation for generated sources is manpages, shell completions, documentation... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
