pypa / build

A simple, correct Python build frontend
https://build.pypa.io
MIT License
697 stars 115 forks source link

Document support for build_editable #790

Closed dholth closed 2 weeks ago

dholth commented 2 weeks ago

I noticed that PEP 517 editable wheels are supported in pypa/build; the relevant hooks support the same conventions as the sdist and wheel hooks. The docstrings should be updated to reflect this.

builder = ProjectBuilder(path, python_executable=python_executable)
editable_requirements = builder.get_requires_for_build("editable")
editable_file = builder.build("editable", output_directory)
dholth commented 2 weeks ago

Duplicate of #763

See also #500