pypa / build

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

build: add `editable` to dist type #764

Closed layday closed 3 months ago

layday commented 3 months ago

Closes #763.

dimbleby commented 3 months ago

thanks! an alias for the three-way literal would be a convenience for callers, though of course we can write our own

layday commented 3 months ago

We could, though I'm not sure what would be a good name for it. I could also see us adding editable to the Distribution set and creating a secondary, internal literal for the CLI. I'm inclined to leave it as is for now.

dimbleby commented 3 months ago

I'm not sure what would be a good name for it.

Haha, well I guess callers will just have to answer that ourselves.

Honestly I think that declining to put a name on this part of the interface is a minor failure, but it's one that users can paper over.