Skip to content

Roadmap for 1.0 #70

Description

@thatch

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions