-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEP-662: Move to a wheel based approach
Makes it easier for frontends to reuse existing implementations of projects metadata. Also keeps the existing practice of the build backend and frontend communicating via an artifact object. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
- Loading branch information
1 parent
335d61e
commit 9c2202d
Showing
3 changed files
with
114 additions
and
73 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "http://pypa.io/editables.json", | ||
"type": "object", | ||
"title": "Virtual wheel editable schema.", | ||
"required": ["version", "scheme"], | ||
"properties": { | ||
"version": { | ||
"$id": "#/properties/version", | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 1, | ||
"title": "The version of the schema." | ||
}, | ||
"scheme": { | ||
"$id": "#/properties/scheme", | ||
"type": "object", | ||
"title": "Files to expose.", | ||
"required": ["purelib", "platlib", "data", "headers", "scripts"], | ||
"properties": { | ||
"purelib": { "$ref": "#/$defs/mapping" }, | ||
"platlib": { "$ref": "#/$defs/mapping" }, | ||
"data": { "$ref": "#/$defs/mapping" }, | ||
"headers": { "$ref": "#/$defs/mapping" }, | ||
"scripts": { "$ref": "#/$defs/mapping" } | ||
}, | ||
"additionalProperties": true | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"$defs": { | ||
"mapping": { | ||
"type": "object", | ||
"description": "A mapping of source to target paths. The source is absolute path, the destination is relative path.", | ||
"additionalProperties": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters