Skip to content

Add uv build to the example command lines in the documentation #683

Open

Description

@dnicolodi

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.

Activity

  1. eli-schwartz commented on Oct 16, 2024

    @eli-schwartz
    Member

    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).

  2. dnicolodi commented on Oct 16, 2024

    @dnicolodi
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions