meson-python icon indicating copy to clipboard operation
meson-python copied to clipboard

Add `uv build` to the example command lines in the documentation

Open dnicolodi opened this issue 1 year ago • 2 comments

I just discovered that uv gained a build command and it is much faster than either pip or pypa/build. I think we should add this options to the examples in the documentation.

dnicolodi avatar Oct 16 '24 19:10 dnicolodi

Interesting! What's faster about it? My naive assumption would be that the process of initializing an isolated build environment is the thing that is faster (does not affect me due to always using --no-isolation --wheel --skip-dependency-check against external environments).

eli-schwartz avatar Oct 16 '24 19:10 eli-schwartz

Sure, the only think that can be reasonably be sped up by the build tool is the creation of the build environment. However, I'm starting to use uv managed virtual environments and not having to install pip or build in these (uv does not install pip by default in the virtual environments it creates) is nice.

dnicolodi avatar Oct 16 '24 20:10 dnicolodi