|
1233 | 1233 | "description": "GraalVM Python header resources", |
1234 | 1234 | "layout": { |
1235 | 1235 | "./META-INF/resources/include/": [ |
1236 | | - "dependency:graalpy-pyconfig/<os>-<arch>/<multitarget_libc_selection>/pyconfig.h", |
1237 | 1236 | "file:graalpython/com.oracle.graal.python.cext/include/*", |
1238 | 1237 | ], |
1239 | 1238 | }, |
1240 | 1239 | "maven": False, |
1241 | 1240 | }, |
1242 | 1241 |
|
1243 | | - # The native libraries we ship. These are platform specific, and even |
1244 | | - # the names of libraries are platform specific. So we already put them |
1245 | | - # in the right folder structure here |
| 1242 | + # The native libraries we ship and pyconfig.h. These are platform specific, |
| 1243 | + # and even the names of libraries are platform specific. So we already put them |
| 1244 | + # in the right folder structure here; pyconfig.h is put into the right |
| 1245 | + # "include" directory, the structure must be kept in sync with how |
| 1246 | + # GRAALPYTHON_INCLUDE_RESOURCES is deployed |
1246 | 1247 | "GRAALPYTHON_NATIVE_RESOURCES": { |
1247 | 1248 | "native": True, |
1248 | 1249 | "platformDependent": True, |
|
1265 | 1266 | ], |
1266 | 1267 | "./META-INF/resources/<os>/<arch>/Lib/venv/scripts/nt/graalpy.exe": "dependency:python-venvlauncher", |
1267 | 1268 | "./META-INF/resources/<os>/<arch>/Lib/venv/scripts/nt/python.exe": "dependency:python-venvlauncher", |
| 1269 | + "./META-INF/resources/<os>/<arch>/include/": "dependency:graalpy-pyconfig/<os>-<arch>/<multitarget_libc_selection>/pyconfig.h", |
1268 | 1270 | }, |
1269 | 1271 | }, |
1270 | 1272 | }, |
|
1275 | 1277 | "dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/*", |
1276 | 1278 | ], |
1277 | 1279 | "./META-INF/resources/<os>/<arch>/lib/python<py_ver:major_minor>/venv/scripts/macos/graalpy": "dependency:python-macos-launcher", |
| 1280 | + "./META-INF/resources/<os>/<arch>/include/python<py_ver:major_minor>/": "dependency:graalpy-pyconfig/<os>-<arch>/<multitarget_libc_selection>/pyconfig.h", |
1278 | 1281 | } |
1279 | 1282 | } |
1280 | 1283 | }, |
|
1284 | 1287 | "./META-INF/resources/<os>/<arch>/lib/graalpy<graal_ver:major_minor>/": [ |
1285 | 1288 | "dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/*", |
1286 | 1289 | ], |
| 1290 | + "./META-INF/resources/<os>/<arch>/include/python<py_ver:major_minor>/": "dependency:graalpy-pyconfig/<os>-<arch>/<multitarget_libc_selection>/pyconfig.h", |
1287 | 1291 | }, |
1288 | 1292 | }, |
1289 | 1293 | }, |
|
0 commit comments