| name | pyproject-toml-1-build-system |
| description | Sub-skill of pyproject-toml: 1. Build System (+4). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
1. Build System (+4)
1. Build System
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
Alternative build backends:
[build-system]
*See sub-skills for full details.*
```toml
[project]
name = "my-project"
version = "0.1.0"
description = "Short description"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
*See sub-skills for full details.*
```toml
[project]
dependencies = [
"pandas>=2.0.0",
"numpy>=1.24,<2.0",
"requests~=2.28",
"click==8.1.3",
"pyyaml",
]
*See sub-skills for full details.*
**Src layout (recommended):**
```toml
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["my_project*"]
exclude = ["tests*"]
See sub-skills for full details.
5. Entry Points
CLI scripts:
[project.scripts]
my-cli = "my_project.cli:main"
my-tool = "my_project.tools:run"
See sub-skills for full details.