-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Consider a project with multiple sub-packages that depend on each other through their cmake find_package. We want that during the build step with isolation the appropriate dependency is used:
- when built from
sdist: use the PyPI index - when built from local git checkout: use relative path pointer
- when built from git url/archive: same as local checkout (if possible)
Borrowing hatch's {root:uri} the effective pyproject.toml would look like
[build-system]
requires = [ "foo >=1.0 @ {root:uri}/../bar" ]Afaiu this is not possible because the pip/uv fronted would have to recognise that pattern and it would not be acceptable on PyPI.
But we have dynamically inserted build-system.requires, so wouldn't it be possible to expose that on a tool.scikit-build field and expand it with or without the @ qualifier?
Metadata
Metadata
Assignees
Labels
No labels