Skip to content

Commit 61c55c4

Browse files
authored
Update README.md
1 parent e58220b commit 61c55c4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ setup(
140140
- setuptools support https://setuptools.pypa.io/en/latest/build_meta.html
141141
- 📑 PEP 518 https://www.python.org/dev/peps/pep-0518/
142142

143+
##### (FYI) Commonly Used `build-backend` Options
144+
145+
| **Backend** | **Specification** | **Features** | **Recommended Use Cases** |
146+
|--------------------------|---------------------------------------|-----------------------------------------------------------------------------------------|--------------------------------------------------|
147+
| **`setuptools`** | `setuptools.build_meta` | Stable and widely used. Often the default choice for many projects. | Legacy projects or when minimal dependency management is needed. |
148+
| **`hatchling`** | `hatchling.build` | Lightweight and fast. Modern design with simple dependency management. | New projects where simplicity and speed are prioritized. |
149+
| **`poetry-core`** | `poetry.core.masonry.api` | Simplified version of `poetry`. Excellent for strict dependency management. | Projects requiring robust dependency management. |
150+
| **`flit`** | `flit_core.buildapi` | Designed for simple package structures. Very lightweight and easy to use. | Ideal for small libraries or script distribution. |
151+
| **`pdm-backend`** | `pdm.backend` | Modern and fully compatible with `pyproject.toml`. Advanced dependency resolution. | Flexible for a wide range of project types. |
152+
153+
154+
143155
#### metadata
144156
- 📑 PEP 621 https://peps.python.org/pep-0621/
145157
- setuptools support (wip) https://github.com/pypa/setuptools/issues/1688

0 commit comments

Comments
 (0)