Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap for 1.0 #70

Open
thatch opened this issue Sep 3, 2022 · 0 comments
Open

Roadmap for 1.0 #70

thatch opened this issue Sep 3, 2022 · 0 comments

Comments

@thatch
Copy link
Member

thatch commented Sep 3, 2022

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"),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant