Skip to content

uv build backend doesn't support module-root = "./" #13407

@followheart26

Description

@followheart26

Question

i have a dir backend-sdk and the structure like
backend-sdk
-- mybackend
-- pyproject.toml
all source code in dir mybackend and it include a init.py

and my pyproject.toml content like this
[tool.uv.build-backend]
module-root = "./"
module-name = "mybackend"

i run uv build in the backend-sdk dir

the error log is
Error: Expected a Python module directory at: mybackend

Platform

centos

Version

latest

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions