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
Working on #392.
- [x] Add to setuptools build_meta, too
For later PR:
```diff
+ libpl = sysconfig.get_config_var("LIBPL")
+ library = sysconfig.get_config_var("LIBRARY")
+
+ if libpl and library and Path(libpl).joinpath(library).is_file():
+ assert isinstance(libpl, str)
+ assert isinstance(library, str)
+ return Path(libpl) / library
```
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Copy file name to clipboardExpand all lines: src/scikit_build_core/resources/scikit-build.schema.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,11 @@
110
110
"type": "boolean",
111
111
"default": true,
112
112
"description": "If set to True, try to build a reproducible distribution (Unix and Python 3.9+ recommended). ``SOURCE_DATE_EPOCH`` will be used for timestamps, or a fixed value if not set."
113
+
},
114
+
"cmake": {
115
+
"type": "boolean",
116
+
"default": false,
117
+
"description": "If set to True, CMake will be run before building the SDist."
113
118
}
114
119
}
115
120
},
@@ -137,7 +142,7 @@
137
142
"install-dir": {
138
143
"type": "string",
139
144
"default": "",
140
-
"description": "The install directory for the wheel. This is relative to the platlib root. EXPERIMENTAL: An absolute path will be one level higher than the platlib root, giving access to \"/platlib\", \"/data\", \"/headers\", and \"/scripts\"."
145
+
"description": "The install directory for the wheel. This is relative to the platlib root. You might set this to the package name. The original dir is still at SKBUILD_PLATLIB_DIR (also SKBUILD_DATA_DIR, etc. are available). EXPERIMENTAL: An absolute path will be one level higher than the platlib root, giving access to \"/platlib\", \"/data\", \"/headers\", and \"/scripts\"."
0 commit comments