File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -909,11 +909,26 @@ def import_python_sources(args):
909
909
# ----------------------------------------------------------------------------------------------------------------------
910
910
mx_sdk .register_graalvm_component (mx_sdk .GraalVmLanguage (
911
911
suite = SUITE ,
912
- name = 'Graal.Python' ,
913
- short_name = 'pyn ' ,
912
+ name = 'Graal.Python license files ' ,
913
+ short_name = 'pynl ' ,
914
914
dir_name = 'python' ,
915
915
license_files = ['LICENSE_GRAALPYTHON' ],
916
916
third_party_license_files = ['3rd_party_licenses_graalpython.txt' ],
917
+ truffle_jars = [],
918
+ support_distributions = [
919
+ 'graalpython:GRAALPYTHON_GRAALVM_LICENSES' ,
920
+ ],
921
+ priority = 5
922
+ ))
923
+
924
+
925
+ mx_sdk .register_graalvm_component (mx_sdk .GraalVmLanguage (
926
+ suite = SUITE ,
927
+ name = 'Graal.Python' ,
928
+ short_name = 'pyn' ,
929
+ dir_name = 'python' ,
930
+ license_files = [],
931
+ third_party_license_files = [],
917
932
truffle_jars = [
918
933
'graalpython:GRAALPYTHON' ,
919
934
],
Original file line number Diff line number Diff line change 360
360
"extracted-dependency:graalpython:GRAALPYTHON_PYTHON_LIB" ,
361
361
"file:mx.graalpython/native-image.properties" ,
362
362
],
363
- "LICENSE_GRAALPYTHON" : "file:LICENSE" ,
364
- "3rd_party_licenses_graalpython.txt" : "file:3rd_party_licenses.txt" ,
365
363
},
366
364
"maven" : False ,
367
365
},
375
373
},
376
374
"maven" : False ,
377
375
},
376
+
377
+ "GRAALPYTHON_GRAALVM_LICENSES" : {
378
+ "native" : True ,
379
+ "platformDependent" : True ,
380
+ "description" : "Graal.Python support distribution for the GraalVM license files" ,
381
+ "layout" : {
382
+ "LICENSE_GRAALPYTHON" : "file:LICENSE" ,
383
+ "3rd_party_licenses_graalpython.txt" : "file:3rd_party_licenses.txt" ,
384
+ },
385
+ "maven" : False ,
386
+ },
378
387
},
379
388
}
You can’t perform that action at this time.
0 commit comments