You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scikit_build_core/resources/scikit-build.schema.json
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -167,11 +167,23 @@
167
167
"additionalProperties": false,
168
168
"properties": {
169
169
"packages": {
170
-
"type": "array",
171
-
"items": {
172
-
"type": "string"
173
-
},
174
-
"description": "A list of packages to auto-copy into the wheel. If this is not set, it will default to the first of ``src/<package>``, ``python/<package>``, or ``<package>`` if they exist. The prefix(s) will be stripped from the package name inside the wheel."
170
+
"oneOf": [
171
+
{
172
+
"type": "array",
173
+
"items": {
174
+
"type": "string"
175
+
}
176
+
},
177
+
{
178
+
"type": "object",
179
+
"patternProperties": {
180
+
".+": {
181
+
"type": "string"
182
+
}
183
+
}
184
+
}
185
+
],
186
+
"description": "A list of packages to auto-copy into the wheel. If this is not set, it will default to the first of ``src/<package>``, ``python/<package>``, or ``<package>`` if they exist. The prefix(s) will be stripped from the package name inside the wheel. If a dict, provides a mapping of package name to source directory."
0 commit comments