-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I think the idea of stuffing everything on a Distribution doesn't really make sense anymore. The rough roadmap for dowsing 1.0 is:
- Get PEP 621 reading working: Support PEP 621 #28
- Attempt to split the well-defined (non-setuptools) parts to an easier-to-install project like "dowsing-lite" (regular "dowsing" would still depend on LibCST and handle the non-trivial setup.py stuff)
- Make
get_metadata
return a different object, that might look like:
>>> metadata.declared.packages.provenance
[
(["find:"], source.SETUP_PY, "setup.py"),
]
>>> metadata.interpreted.packages.value
["frozenlist"]
>>> metadata.interpreted.packages.provenance
[
(["frozenlist"], source.SETUP_PY, "setup.py"),
]
>>> metadata.interpreted.source_map_globs.value # for subdir_glob in starlark, potentially
[
(subdir="", dir="frozenlist", globs=("*.py", "*.so")),
]
# or
>>> metadata.interpreted.name.provenance
[
("foo", source.PEP_621, "pyproject.toml"),
]
Metadata
Metadata
Assignees
Labels
No labels