Problem Statement
In modern Python packaging, which file declares the build system and project metadata?
Explanation
pyproject.toml centralizes project metadata, dependencies, and the build backend. It is the standard way to define how a package is built and installed.
requirements.txt still helps pin runtime deps for apps, but pyproject describes the package itself.
Code Solution
SolutionRead Only
[project] name = 'myapp' version = '0.1.0' [build-system] requires = ['setuptools','wheel'] build-backend = 'setuptools.build_meta'
