···11+"""Get the top-level packages of a Python project."""
22+13import csv
24import pathlib
35import tempfile
···111312141315def get_packages(source_dir, *, build_config_settings=None):
1616+ """Get the top-level packages of a Python project."""
1417 pyproject_toml_path = pathlib.Path(source_dir) / "pyproject.toml"
1518 if not pyproject_toml_path.is_file():
1619 raise ValueError(