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 @@ -855,11 +855,26 @@ def import_python_sources(args):
855855# ----------------------------------------------------------------------------------------------------------------------
856856mx_sdk .register_graalvm_component (mx_sdk .GraalVmLanguage (
857857 suite = SUITE ,
858- name = 'Graal.Python' ,
859- short_name = 'pyn ' ,
858+ name = 'Graal.Python license files ' ,
859+ short_name = 'pynl ' ,
860860 dir_name = 'python' ,
861861 license_files = ['LICENSE_GRAALPYTHON' ],
862862 third_party_license_files = ['3rd_party_licenses_graalpython.txt' ],
863+ truffle_jars = [],
864+ support_distributions = [
865+ 'graalpython:GRAALPYTHON_GRAALVM_LICENSES' ,
866+ ],
867+ priority = 5
868+ ))
869+
870+
871+ mx_sdk .register_graalvm_component (mx_sdk .GraalVmLanguage (
872+ suite = SUITE ,
873+ name = 'Graal.Python' ,
874+ short_name = 'pyn' ,
875+ dir_name = 'python' ,
876+ license_files = [],
877+ third_party_license_files = [],
863878 truffle_jars = [
864879 'graalpython:GRAALPYTHON' ,
865880 ],
Original file line number Diff line number Diff line change 360360 "extracted-dependency:graalpython:GRAALPYTHON_PYTHON_LIB" ,
361361 "file:mx.graalpython/native-image.properties" ,
362362 ],
363- "LICENSE_GRAALPYTHON" : "file:LICENSE" ,
364- "3rd_party_licenses_graalpython.txt" : "file:3rd_party_licenses.txt" ,
365363 },
366364 "maven" : False ,
367365 },
375373 },
376374 "maven" : False ,
377375 },
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+ },
378387 },
379388}
You can’t perform that action at this time.
0 commit comments