Skip to content

[tool.uv.build-backend.data] directory silently not included #15655

@BartSchuurmans

Description

@BartSchuurmans

Summary

I'm trying to include a .streamlit directory in my source distribution and wheel. It lives next to my pyproject.toml.

Partial pyproject.toml:

[tool.uv]
package = true

[tool.uv.build-backend.data]
data = ".streamlit"

However, when running uv build, this directory does not appear in the output, and is not included in the source distribution or wheel.

Am I misunderstanding the documentation or is this a bug?

Documentation references:

Platform

Darwin 24.6.0 arm64

Version

uv 0.8.14 (Homebrew 2025-08-28)

Python version

Python 3.12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions