-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: make build formats dict available, handle deprecation of `poet…
…ry.core.masonry.builder` Co-authored-by: Bartosz Sokorski <b.sokorski@gmail.com>
- Loading branch information
Showing
3 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
from __future__ import annotations | ||
|
||
from poetry.core.masonry.builders.sdist import SdistBuilder | ||
from poetry.core.masonry.builders.wheel import WheelBuilder | ||
|
||
from poetry.masonry.builders.editable import EditableBuilder | ||
|
||
|
||
__all__ = ["EditableBuilder"] | ||
__all__ = ["BUILD_FORMATS", "EditableBuilder"] | ||
|
||
|
||
# might be extended by plugins | ||
BUILD_FORMATS = { | ||
"sdist": SdistBuilder, | ||
"wheel": WheelBuilder, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters