Python functions to get top-level importables names
0

Configure Feed

Select the types of activity you want to include in your feed.

Small fixes

Juan Luis Cano Rodríguez (Dec 3, 2023, 6:56 PM +0100) 8b7277e7 c1665307

+3
+3
src/pygetpackages/__init__.py
··· 1 + """Get the top-level packages of a Python project.""" 2 + 1 3 import csv 2 4 import pathlib 3 5 import tempfile ··· 11 13 12 14 13 15 def get_packages(source_dir, *, build_config_settings=None): 16 + """Get the top-level packages of a Python project.""" 14 17 pyproject_toml_path = pathlib.Path(source_dir) / "pyproject.toml" 15 18 if not pyproject_toml_path.is_file(): 16 19 raise ValueError(