Nuitka-winsvc 1.9.2__cp312-cp312-win_amd64.whl → 1.9.3__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/METADATA +1 -1
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/RECORD +24 -24
- nuitka/Version.py +1 -1
- nuitka/build/Backend.scons +9 -2
- nuitka/build/Onefile.scons +0 -8
- nuitka/build/static_src/MainProgram.c +25 -1
- nuitka/code_generation/ImportCodes.py +4 -2
- nuitka/freezer/DllDependenciesPosix.py +8 -1
- nuitka/nodes/PackageMetadataNodes.py +19 -9
- nuitka/plugins/PluginBase.py +1 -1
- nuitka/plugins/standard/AntiBloatPlugin.py +7 -6
- nuitka/plugins/standard/DllFilesPlugin.py +2 -0
- nuitka/plugins/standard/ImplicitImports.py +19 -16
- nuitka/plugins/standard/standard.nuitka-package.config.yml +84 -1
- nuitka/reports/Reports.py +3 -0
- nuitka/utils/Distributions.py +21 -5
- nuitka/utils/FileOperations.py +4 -0
- nuitka/utils/ModuleNames.py +7 -0
- {Nuitka_winsvc-1.9.2.data → Nuitka_winsvc-1.9.3.data}/scripts/nuitka-run.bat +0 -0
- {Nuitka_winsvc-1.9.2.data → Nuitka_winsvc-1.9.3.data}/scripts/nuitka.bat +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/WHEEL +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.3.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Nuitka_winsvc-1.9.
|
|
2
|
-
Nuitka_winsvc-1.9.
|
|
1
|
+
Nuitka_winsvc-1.9.3.data/scripts/nuitka-run.bat,sha256=ueVuKYMLV9dfqkkspy_F-2cpoZginLFiPDJAaj4fKYk,901
|
|
2
|
+
Nuitka_winsvc-1.9.3.data/scripts/nuitka.bat,sha256=0wNE1iEysZFW4i7Tlo5TL5e_fv4jDoyAzMo_LTnjv_Y,1038
|
|
3
3
|
nuitka/Builtins.py,sha256=API_eSf5QF-gVXcQYKTzv5Un5GSPcOVEFCy4nDT3JNw,7528
|
|
4
4
|
nuitka/BytecodeCaching.py,sha256=HwdXL8IYrgvnIIg_QyWXTGsUBI9U-fB_AxxAMc5o1FM,5810
|
|
5
5
|
nuitka/Bytecodes.py,sha256=yfpxDfJrYTGzGQpx9-UJ4MLUp8FTViI3dF0vcwfBC7A,3767
|
|
@@ -22,14 +22,14 @@ nuitka/SourceCodeReferences.py,sha256=hO9Cl-QYVTG9TspnW9_xkUbFOoVKFQt7JKD9AubXfm
|
|
|
22
22
|
nuitka/Tracing.py,sha256=QjrkJoE5cqEnJ50ZHdscrVLOZPJm8_3pixYNlAlB7cg,12641
|
|
23
23
|
nuitka/TreeXML.py,sha256=3gnyHOhUcxpGEBEel_drPW89Uysf9hkFzkb2y19-KlA,3480
|
|
24
24
|
nuitka/Variables.py,sha256=dcEA7KAk2NASioIQjsF2VERYvjqNopKvw0PrYf6y2hw,15212
|
|
25
|
-
nuitka/Version.py,sha256=
|
|
25
|
+
nuitka/Version.py,sha256=ENT6xDWwR-61D_kLIrnN0kkz42etxTXS7ca5dqxBNBw,2388
|
|
26
26
|
nuitka/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
27
27
|
nuitka/__main__.py,sha256=6zt6foxHGZkh0EkdVkPjtqOAQedxiMsvKsgj1GUqT94,6129
|
|
28
28
|
nuitka/__past__.py,sha256=fFm9_sAB580usi_aHrAHeGezskD7Ayq7plBVzqMrOQ8,5390
|
|
29
|
-
nuitka/build/Backend.scons,sha256=
|
|
29
|
+
nuitka/build/Backend.scons,sha256=k3Wd4e689EVwrlWP7Ay_KiBZ88ijAxT9GOkZ_sdZsKs,35411
|
|
30
30
|
nuitka/build/CCompilerVersion.scons,sha256=Su58Ok1ZFD3cTheiknLvnTMkjI7G3h1p7llcppH-TaA,8368
|
|
31
31
|
nuitka/build/DataComposerInterface.py,sha256=UE_1aGp5xgvmSPCIaQB95vyRgioqHFVv_zTzodvvoww,3452
|
|
32
|
-
nuitka/build/Onefile.scons,sha256=
|
|
32
|
+
nuitka/build/Onefile.scons,sha256=InXgUoAMjcT7V8Q42d1QIDh2ZNtU_hHxf5OcQCTwAYA,17593
|
|
33
33
|
nuitka/build/SconsCaching.py,sha256=vPNG_ke7JRQ4BPdrrnbsbI2hGP7u9FcMUmcnH2IqV-M,15772
|
|
34
34
|
nuitka/build/SconsCompilerSettings.py,sha256=u7_vPrAoFDKqVpp5m8VKfbVJEQ2VB7sQVaRb2jlGTLI,34942
|
|
35
35
|
nuitka/build/SconsHacks.py,sha256=8rD2pua3uW9LMOurul1Xl7GUEqoR59okCg0e5RYY5eQ,5559
|
|
@@ -477,7 +477,7 @@ nuitka/build/static_src/HelpersStrings.c,sha256=2d_dTc1yBsothBwDW_kAzBi7OooFiKyX
|
|
|
477
477
|
nuitka/build/static_src/HelpersTuples.c,sha256=g7Rm5PkuzTHKN8i_eUoCZDb3u0S9A8sjLN6eRYxubmg,4037
|
|
478
478
|
nuitka/build/static_src/HelpersTypes.c,sha256=izc0qjeJlYn9lph-P1TsD_SPeBGhaIbrqWG9c00Chjg,5599
|
|
479
479
|
nuitka/build/static_src/InspectPatcher.c,sha256=qLlhdd7KwSz_VVT-QAqBrl8c5VE-8NkKwFk_DB1vN6w,12107
|
|
480
|
-
nuitka/build/static_src/MainProgram.c,sha256=
|
|
480
|
+
nuitka/build/static_src/MainProgram.c,sha256=hSNJtHCpv8sJMy0tlYQhbuoDNQHUnaV-m4yrxR4wcG0,52661
|
|
481
481
|
nuitka/build/static_src/MetaPathBasedLoader.c,sha256=RjL4cpSer3gTM0JqwLQ00poOdtf5jcY7LIoyjIU6Knk,63235
|
|
482
482
|
nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c,sha256=jzKD-Qg6wG1NsiMYAy5XQp6GRvk0gQ1P8a9JrFi8ntI,4798
|
|
483
483
|
nuitka/build/static_src/MetaPathBasedLoaderResourceReader.c,sha256=QjXTcPYrEdJCTffiEbu_-3SnxpBn73b3Fc93WvVO20g,6622
|
|
@@ -515,7 +515,7 @@ nuitka/code_generation/GeneratorCodes.py,sha256=LcDL7pcPF3K6Z5fQqFHLvTeKaXeJO1AV
|
|
|
515
515
|
nuitka/code_generation/GlobalConstants.py,sha256=fj1Ma-JITM1P0ghGanmhPTLD4Oc8dov7Ng5kdw5wApE,6268
|
|
516
516
|
nuitka/code_generation/GlobalsLocalsCodes.py,sha256=pNqCTvEyauWM175wnNH38ITIs3hdHvrWNHz1a977nVw,6952
|
|
517
517
|
nuitka/code_generation/IdCodes.py,sha256=KCz4XPSM7GpAO4M_6Rl0N3FQYR_RJpnPEQbyTirx5mo,1837
|
|
518
|
-
nuitka/code_generation/ImportCodes.py,sha256
|
|
518
|
+
nuitka/code_generation/ImportCodes.py,sha256=TOH8YkRO5zX-wv_TzXUr8m8I6QE1b2dZWVLa_wHZDiE,14651
|
|
519
519
|
nuitka/code_generation/Indentation.py,sha256=RyBxfMIoakXgbM42RaGU8olfRV9Vi2NHjtCtHAtYYO8,1396
|
|
520
520
|
nuitka/code_generation/IndexCodes.py,sha256=TTy2qZh_ZUGGWl5i6bH1xYG9ppdy-8cOLXsIrtpx2dQ,1541
|
|
521
521
|
nuitka/code_generation/InjectCCodes.py,sha256=jl_27KN5_e-xPDq_A2nzHeCTkxo9xcT_59eYb9brjEo,1033
|
|
@@ -618,7 +618,7 @@ nuitka/finalizations/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ
|
|
|
618
618
|
nuitka/freezer/DependsExe.py,sha256=5IxSPhQl1GoBczuqIRvSGh-XeAHOYGNnNbDj6f6lBFQ,7810
|
|
619
619
|
nuitka/freezer/DllDependenciesCommon.py,sha256=d-CQ196gADbKN6cKeoCLuIMxeR8sduZFRSafcqEOokY,2583
|
|
620
620
|
nuitka/freezer/DllDependenciesMacOS.py,sha256=xYJ5x_GoXHdnAaNci4g_nAtZURSMVzrS7YmPlG1WUpU,11992
|
|
621
|
-
nuitka/freezer/DllDependenciesPosix.py,sha256=
|
|
621
|
+
nuitka/freezer/DllDependenciesPosix.py,sha256=YVsOGATWW3TEGRF1wBMuwwscs2lnKRKtJnL1QaT1dqM,7437
|
|
622
622
|
nuitka/freezer/DllDependenciesWin32.py,sha256=ku1e8F6-eRH9ee0eoe0BleGsMXwRgShJgoCiF11LuKs,6602
|
|
623
623
|
nuitka/freezer/ImportDetection.py,sha256=5ONTZuf0km-Qso6y8Sg1rZIfpVJhDg2bTqW0nuQpOLM,11946
|
|
624
624
|
nuitka/freezer/IncludedDataFiles.py,sha256=5Tck_Z7yfKp_7MfsoFbodfmDH9ZawMEbtGXH0e1ra7E,17283
|
|
@@ -704,7 +704,7 @@ nuitka/nodes/OperatorNodes.py,sha256=0KP0pZhOVw-4vRFdJ4doYOsVGxrzO51ljs3lnsaxbqg
|
|
|
704
704
|
nuitka/nodes/OperatorNodesUnary.py,sha256=jn67kN7VrTPkpLi90Ae2STGwmXBr_c9y4Jzz33MxzQQ,8942
|
|
705
705
|
nuitka/nodes/OsSysNodes.py,sha256=Lf0tCb9-8-EEW3ACQWCSOWfqHFD3sZFNtt7wBs_gDfQ,4202
|
|
706
706
|
nuitka/nodes/OutlineNodes.py,sha256=f4YNDlblKC8d1AHVGI0Kb1BhJzPGtHPKnWz9UOuBrBo,12435
|
|
707
|
-
nuitka/nodes/PackageMetadataNodes.py,sha256=
|
|
707
|
+
nuitka/nodes/PackageMetadataNodes.py,sha256=Q_J6ugoiTOJDURJqYo0IXsH2EyvGpcCuDEimFzWebZg,34720
|
|
708
708
|
nuitka/nodes/PackageResourceNodes.py,sha256=ZijBGYgA06iPEnjRc0iavWNwz3PbyFJkZjXp6hW9Tbc,12208
|
|
709
709
|
nuitka/nodes/PrintNodes.py,sha256=5QEvrX9ONOLIMVgojxBmQRUg6JRq0-w-_SjMBAibY8w,3407
|
|
710
710
|
nuitka/nodes/ReturnNodes.py,sha256=i5vHloxJ5reYQa9bAcOdRmr6Bw8GeoGjHz5WPq6kfL4,6772
|
|
@@ -741,21 +741,21 @@ nuitka/optimizations/ValueTraces.py,sha256=VcdxfSwaVvfavj4bMucGKnUHLPcZays4AInK9
|
|
|
741
741
|
nuitka/optimizations/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
742
742
|
nuitka/pgo/PGO.py,sha256=_clue7LpdJCfqNLu2l8diVwqPll8AzxFBNSp_EOty7M,4899
|
|
743
743
|
nuitka/pgo/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
744
|
-
nuitka/plugins/PluginBase.py,sha256=
|
|
744
|
+
nuitka/plugins/PluginBase.py,sha256=zaQSIk_k5UB-FxdRQ_9uVylonXmoLI6A2W8SZgVjl7g,43130
|
|
745
745
|
nuitka/plugins/Plugins.py,sha256=kNjzDAWOY3rsjCzOFgqctj-ArNyGTnNehRuG6VUlwi0,59215
|
|
746
746
|
nuitka/plugins/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
747
|
-
nuitka/plugins/standard/AntiBloatPlugin.py,sha256=
|
|
747
|
+
nuitka/plugins/standard/AntiBloatPlugin.py,sha256=Vg_J6j2dn173yLMYdiqlpQ8-3ri0pDNk_e62o0z1W8Q,26766
|
|
748
748
|
nuitka/plugins/standard/ConsiderPyLintAnnotationsPlugin.py,sha256=Qmad4nTfbVd-XogAYeVTIhV94uw2wGrpJpFzMYxOV_A,3477
|
|
749
749
|
nuitka/plugins/standard/DataFilesPlugin.py,sha256=yaB_jLBGyPIl85_Sy7fnC14iuD1mN5U6swkQPAKhggY,10383
|
|
750
750
|
nuitka/plugins/standard/DelvewheelPlugin.py,sha256=DxMPCIv4j03LI_CqIW3RatsB4e0B3YpkmEKySAkjnPU,5017
|
|
751
751
|
nuitka/plugins/standard/DillPlugin.py,sha256=HEvkrbNZR2gcgREUNEuldGmokjsfpWebAYJfTLn_FrA,2446
|
|
752
|
-
nuitka/plugins/standard/DllFilesPlugin.py,sha256=
|
|
752
|
+
nuitka/plugins/standard/DllFilesPlugin.py,sha256=wSGGfic_3jQJo8hKKdjJHZiuZezpoRXdrFiLygUSmwk,15334
|
|
753
753
|
nuitka/plugins/standard/EnumPlugin.py,sha256=F8YTbMSP3llBVfDvgTo_7x9VUDQwxBskHuF9iSu1hto,2062
|
|
754
754
|
nuitka/plugins/standard/EventletPlugin.py,sha256=k12dCxirk7GyAfb9Sibo8YcuUX3curjj8aBjyzp631M,1905
|
|
755
755
|
nuitka/plugins/standard/GeventPlugin.py,sha256=6c58pK1HLrUGjIil-KuTEINSwWNN8VYa1jHeyG2qXug,1880
|
|
756
756
|
nuitka/plugins/standard/GiPlugin.py,sha256=ug_tQIJ29Yg9J0x4sy4G5nu4SfYIsw7WdRv4giC_LDU,3989
|
|
757
757
|
nuitka/plugins/standard/GlfwPlugin.py,sha256=mzjlEtQl_MOoMujaehaEYWLGiaVDEZ6YvIJa-zML7Bk,4821
|
|
758
|
-
nuitka/plugins/standard/ImplicitImports.py,sha256=
|
|
758
|
+
nuitka/plugins/standard/ImplicitImports.py,sha256=51th3zgrixPhXijkNJjKkWwwa43uHZyUF04kHDsbWZM,28348
|
|
759
759
|
nuitka/plugins/standard/KivyPlugin.py,sha256=JbY-D4SnSNNnJMd63Zub-h44uh681tVY8BdzpmZf8_o,4991
|
|
760
760
|
nuitka/plugins/standard/MatplotlibPlugin.py,sha256=Sg4v9FfHZVChLaux4PBI24x0X9VkmkvaDhqKfKQAb9U,7828
|
|
761
761
|
nuitka/plugins/standard/MultiprocessingPlugin.py,sha256=qwMNEG-mOTv8dIQsem6m5oTzcWv-WutkrueLYwJcxss,7047
|
|
@@ -773,12 +773,12 @@ nuitka/plugins/standard/TransformersPlugin.py,sha256=XRUBuSkv7-yUb9HJ8QyM4J8cCM-
|
|
|
773
773
|
nuitka/plugins/standard/TrioPlugin.py,sha256=1zkgZP5KFJ4xXhnh2poTD3zXv7ywBEeNE9hfYEbgVG8,1073
|
|
774
774
|
nuitka/plugins/standard/UpxPlugin.py,sha256=bdYp-nBs3mI-fUeZ_icnRzW3TtTk3wSYJQWjlr5UEBA,5640
|
|
775
775
|
nuitka/plugins/standard/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
776
|
-
nuitka/plugins/standard/standard.nuitka-package.config.yml,sha256=
|
|
776
|
+
nuitka/plugins/standard/standard.nuitka-package.config.yml,sha256=dKoms7uNn4TxqFoNiO1-hbg1naE0v7Pk7GUY_ZHxZLc,190006
|
|
777
777
|
nuitka/plugins/standard/stdlib2.nuitka-package.config.yml,sha256=ZQOgPAmYq0sqpi2Hn2D6tmKyHN9FurrPfhG8XpTxbyw,2067
|
|
778
778
|
nuitka/plugins/standard/stdlib3.nuitka-package.config.yml,sha256=j3Zxxcd2PRsCirzGTSkbAJ5v-Cp_cqExGOFEExK51uk,11122
|
|
779
779
|
nuitka/reports/CompilationReportReader.py,sha256=6EYWAZm8ELDWaob-WK0CNVwmAnB_HMKv3i_DZIznFpo,1887
|
|
780
780
|
nuitka/reports/LicenseReport.rst.j2,sha256=Hr7NBNb-bB3nnAx254QACjYhzOeqceMHQ0B3wwrd6WU,2239
|
|
781
|
-
nuitka/reports/Reports.py,sha256=
|
|
781
|
+
nuitka/reports/Reports.py,sha256=IJgQDfO_wjeEdweaSpVgmEKs1kYrdKDd-NA0RsiKhUA,24116
|
|
782
782
|
nuitka/reports/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
783
783
|
nuitka/specs/BuiltinBytesOperationSpecs.py,sha256=0U_m1RGWiZlTxE5wL24FBn2IRV3EobuDKmTQaiRgeUw,5911
|
|
784
784
|
nuitka/specs/BuiltinDictOperationSpecs.py,sha256=q-v1S9S_7RulsOWRGTzMOUoBOgA4Wky8uI035Osx324,2786
|
|
@@ -878,10 +878,10 @@ nuitka/tree/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
|
878
878
|
nuitka/utils/AppDirs.py,sha256=fPTyhbEq2ejabLXUA8YrtfvdYWTCyTxRRZBsj0yuXfU,2677
|
|
879
879
|
nuitka/utils/CStrings.py,sha256=bXkTDDfnJrJU7yuXMXrl04_q_kayjoEQllHXFgRENdI,4115
|
|
880
880
|
nuitka/utils/CommandLineOptions.py,sha256=XVnmW7W2c9I1x6NBVxh0eZ-RxOOgxHAsD-vvlgZKnpc,5373
|
|
881
|
-
nuitka/utils/Distributions.py,sha256=
|
|
881
|
+
nuitka/utils/Distributions.py,sha256=Lfsywuh0UKDhV-a7wWaFFsSTISUCXxi7Z0UjU-Rp3EE,13106
|
|
882
882
|
nuitka/utils/Download.py,sha256=adG_dxO8s8YfEOOQz_DRRj3VfZxs8dXpFR5sc9IrTnc,6396
|
|
883
883
|
nuitka/utils/Execution.py,sha256=AMOP7urD1k3U2I4reowzJU0LiOSzzNNrXeDg2UNUZrw,12780
|
|
884
|
-
nuitka/utils/FileOperations.py,sha256=
|
|
884
|
+
nuitka/utils/FileOperations.py,sha256=byYMFCrkI1llcbx-pJUGXLWbtPDwND3H79K3q4w8UeA,39596
|
|
885
885
|
nuitka/utils/Hashing.py,sha256=q5Ugfw3rp3wo26EfnpkcYC7YzXtTn6CcfJ0G8zeKrOw,2867
|
|
886
886
|
nuitka/utils/Images.py,sha256=kLF0VjQSjwVRpFigBU1jcWFaTgU9nXEEU9-jMLCWmp4,2362
|
|
887
887
|
nuitka/utils/Importing.py,sha256=uwjNdsmTQ6SEjMqbMYUig75EYvgN_yM7eNY_G_DBynk,9743
|
|
@@ -891,7 +891,7 @@ nuitka/utils/Jinja2.py,sha256=KeJqncA5MoCdRvw0Y7UT58upSxkNDg8D0fYCTPBmc6M,4553
|
|
|
891
891
|
nuitka/utils/Json.py,sha256=IN0LAPXM5c1YNQzEG_nLjcV4VdiiXleSByUz5IlCf3Q,1238
|
|
892
892
|
nuitka/utils/MacOSApp.py,sha256=x1u4Ubjj5KDe_pf2zmi-JfMMe06fAXQpG_Hj0C4MC7E,4304
|
|
893
893
|
nuitka/utils/MemoryUsage.py,sha256=HiS9ZHipRiEEcayFgQyqqushMRU61hUIerOfc_LPtHI,5040
|
|
894
|
-
nuitka/utils/ModuleNames.py,sha256=
|
|
894
|
+
nuitka/utils/ModuleNames.py,sha256=52IHwbUZYvQzu1-mcP9bBNRoSLqtnay24zWsi7aGrVc,9926
|
|
895
895
|
nuitka/utils/ReExecute.py,sha256=F7a8jD6lYc-anb_bZ0zYSypedA1IZ3XwhF3MLTMfqkM,4549
|
|
896
896
|
nuitka/utils/Rest.py,sha256=dVTpDwDWgyCkLXESA5VQjpwoapmFE6yberVVFlrurA0,1856
|
|
897
897
|
nuitka/utils/SharedLibraries.py,sha256=alzNtgbPmXNSwG-7ubY540XZZFrt4G9QoG4XOeuAv0g,23829
|
|
@@ -906,9 +906,9 @@ nuitka/utils/WindowsFileUsage.py,sha256=-HWxgeimCX2pz6oAUI0T7wSJN1tbk8XyIzPywdd0
|
|
|
906
906
|
nuitka/utils/WindowsResources.py,sha256=LI0_h3TU10X64hbD7qd8j8LaOtFJwVqmG-qpFuxUh4g,19539
|
|
907
907
|
nuitka/utils/Yaml.py,sha256=qf1IANYYNNS7gM3GEy4M_I9_2WELkd8MFHsxc5rgfco,6371
|
|
908
908
|
nuitka/utils/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
909
|
-
Nuitka_winsvc-1.9.
|
|
910
|
-
Nuitka_winsvc-1.9.
|
|
911
|
-
Nuitka_winsvc-1.9.
|
|
912
|
-
Nuitka_winsvc-1.9.
|
|
913
|
-
Nuitka_winsvc-1.9.
|
|
914
|
-
Nuitka_winsvc-1.9.
|
|
909
|
+
Nuitka_winsvc-1.9.3.dist-info/LICENSE.txt,sha256=ZWq74m8T3pVbRFjCBu74q_4GyW11rCqtYB_1vZ4rQ88,11348
|
|
910
|
+
Nuitka_winsvc-1.9.3.dist-info/METADATA,sha256=O1pxwZRQybJWc023Run9xoZOxrj-VcW3CHB8suCPZsY,4909
|
|
911
|
+
Nuitka_winsvc-1.9.3.dist-info/WHEEL,sha256=j9Aissza3750LQHFAQyYerNjmkEON1-8w_RaZNFtKSs,102
|
|
912
|
+
Nuitka_winsvc-1.9.3.dist-info/entry_points.txt,sha256=jeBnijqxZ4U0WpNEdtaogpNMNlv5jw8H7yMOsf2isFc,308
|
|
913
|
+
Nuitka_winsvc-1.9.3.dist-info/top_level.txt,sha256=TRrfKxSYukbo1yzTGfwyH7wVzhDpKlwQsLjhIr15yqY,7
|
|
914
|
+
Nuitka_winsvc-1.9.3.dist-info/RECORD,,
|
nuitka/Version.py
CHANGED
nuitka/build/Backend.scons
CHANGED
|
@@ -464,10 +464,17 @@ if env.debug_mode:
|
|
|
464
464
|
if env.gcc_mode:
|
|
465
465
|
# Allow gcc/clang to point out all kinds of inconsistency to us by
|
|
466
466
|
# raising an error.
|
|
467
|
+
|
|
468
|
+
if "allow-c-warnings" not in env.experimental_flags:
|
|
469
|
+
env.Append(
|
|
470
|
+
CCFLAGS=[
|
|
471
|
+
"-Wall",
|
|
472
|
+
"-Werror",
|
|
473
|
+
]
|
|
474
|
+
)
|
|
475
|
+
|
|
467
476
|
env.Append(
|
|
468
477
|
CCFLAGS=[
|
|
469
|
-
"-Wall",
|
|
470
|
-
"-Werror",
|
|
471
478
|
# Unfortunately Py_INCREF(Py_False) triggers aliasing warnings,
|
|
472
479
|
# which are unfounded, so disable them.
|
|
473
480
|
"-Wno-error=strict-aliasing",
|
nuitka/build/Onefile.scons
CHANGED
|
@@ -371,14 +371,6 @@ if debug_mode:
|
|
|
371
371
|
CCFLAGS=[
|
|
372
372
|
"-Wall",
|
|
373
373
|
"-Werror",
|
|
374
|
-
# Unfortunately Py_INCREF(Py_False) triggers aliasing warnings,
|
|
375
|
-
# which are unfounded, so disable them.
|
|
376
|
-
"-Wno-error=strict-aliasing",
|
|
377
|
-
"-Wno-strict-aliasing",
|
|
378
|
-
# At least for self-compiled Python3.2, and MinGW this happens
|
|
379
|
-
# and has little use anyway.
|
|
380
|
-
"-Wno-error=format",
|
|
381
|
-
"-Wno-format",
|
|
382
374
|
]
|
|
383
375
|
)
|
|
384
376
|
|
|
@@ -364,6 +364,8 @@ static int multiprocessing_resource_tracker_arg = -1;
|
|
|
364
364
|
// This is a joblib loky fork
|
|
365
365
|
#ifdef _WIN32
|
|
366
366
|
static bool is_joblib_popen_loky_win32 = false;
|
|
367
|
+
static int loky_joblib_pipe_handle_arg = 0;
|
|
368
|
+
static int loky_joblib_parent_pid_arg = 0;
|
|
367
369
|
#else
|
|
368
370
|
static bool is_joblib_popen_loky_posix = false;
|
|
369
371
|
#endif
|
|
@@ -440,6 +442,15 @@ static void setCommandLineParameters(int argc, wchar_t **argv) {
|
|
|
440
442
|
is_joblib_popen_loky_win32 = true;
|
|
441
443
|
break;
|
|
442
444
|
}
|
|
445
|
+
|
|
446
|
+
if (scanFilename(argv[i + 1],
|
|
447
|
+
FILENAME_EMPTY_STR "from joblib.externals.loky.backend.popen_loky_win32 import main; "
|
|
448
|
+
"main(pipe_handle=%i, parent_pid=%i)",
|
|
449
|
+
&loky_joblib_pipe_handle_arg, &loky_joblib_parent_pid_arg)) {
|
|
450
|
+
is_joblib_popen_loky_win32 = true;
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
|
|
443
454
|
#endif
|
|
444
455
|
}
|
|
445
456
|
|
|
@@ -1500,7 +1511,20 @@ orig_argv = argv;
|
|
|
1500
1511
|
PyObject *main_function = PyObject_GetAttrString(joblib_popen_loky_win32_module, "main");
|
|
1501
1512
|
CHECK_OBJECT(main_function);
|
|
1502
1513
|
|
|
1503
|
-
|
|
1514
|
+
if (loky_joblib_pipe_handle_arg == 0) {
|
|
1515
|
+
CALL_FUNCTION_NO_ARGS(tstate, main_function);
|
|
1516
|
+
} else {
|
|
1517
|
+
char const *kw_keys[] = {"pipe_handle", "parent_pid"};
|
|
1518
|
+
PyObject *kw_values[] = {
|
|
1519
|
+
PyLong_FromLong(loky_joblib_pipe_handle_arg),
|
|
1520
|
+
PyLong_FromLong(loky_joblib_parent_pid_arg),
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
PyObject *kw_args = MAKE_DICT_X_CSTR(kw_keys, kw_values, sizeof(kw_values) / sizeof(PyObject *));
|
|
1524
|
+
|
|
1525
|
+
CALL_FUNCTION_WITH_KEYARGS(tstate, main_function, kw_args);
|
|
1526
|
+
}
|
|
1527
|
+
static int loky_joblib_parent_pid_arg = 0;
|
|
1504
1528
|
|
|
1505
1529
|
int exit_code = HANDLE_PROGRAM_EXIT(tstate);
|
|
1506
1530
|
|
|
@@ -189,12 +189,14 @@ def generateImportModuleHardCode(to_name, expression, emit, context):
|
|
|
189
189
|
emit(
|
|
190
190
|
renderTemplateFromString(
|
|
191
191
|
r"""
|
|
192
|
+
{% if import_gives_ref %}
|
|
192
193
|
{
|
|
193
194
|
PyObject *hard_module = {{module_getter_code1}};
|
|
194
|
-
{% if import_gives_ref %}
|
|
195
195
|
Py_DECREF(hard_module);
|
|
196
|
-
{% endif %}
|
|
197
196
|
}
|
|
197
|
+
{% else %}
|
|
198
|
+
{{module_getter_code1}};
|
|
199
|
+
{% endif %}
|
|
198
200
|
{{value_name}} = {{module_getter_code2}};
|
|
199
201
|
""",
|
|
200
202
|
value_name=value_name,
|
|
@@ -28,7 +28,11 @@ from nuitka.PythonFlavors import isAnacondaPython
|
|
|
28
28
|
from nuitka.Tracing import inclusion_logger
|
|
29
29
|
from nuitka.utils.Execution import executeProcess, withEnvironmentPathAdded
|
|
30
30
|
from nuitka.utils.SharedLibraries import getSharedLibraryRPATH
|
|
31
|
-
from nuitka.utils.Utils import
|
|
31
|
+
from nuitka.utils.Utils import (
|
|
32
|
+
isAlpineLinux,
|
|
33
|
+
isAndroidBasedLinux,
|
|
34
|
+
isPosixWindows,
|
|
35
|
+
)
|
|
32
36
|
|
|
33
37
|
from .DllDependenciesCommon import getLdLibraryPath
|
|
34
38
|
|
|
@@ -214,3 +218,6 @@ if isAnacondaPython() or isAlpineLinux():
|
|
|
214
218
|
# so they have to be included.
|
|
215
219
|
# Alpine linux does not include `libstdc++.so` by default.
|
|
216
220
|
_linux_dll_ignore_list.remove("libstdc++.so")
|
|
221
|
+
|
|
222
|
+
if isAndroidBasedLinux():
|
|
223
|
+
_linux_dll_ignore_list.remove("libz.so")
|
|
@@ -75,11 +75,19 @@ class ExpressionPkgResourcesRequireCall(ExpressionPkgResourcesRequireCallBase):
|
|
|
75
75
|
kind = "EXPRESSION_PKG_RESOURCES_REQUIRE_CALL"
|
|
76
76
|
|
|
77
77
|
def replaceWithCompileTimeValue(self, trace_collection):
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
resources_module = _getPkgResourcesModule()
|
|
79
|
+
|
|
80
|
+
require = resources_module.require
|
|
81
|
+
ResolutionError = resources_module.ResolutionError
|
|
82
|
+
|
|
83
|
+
try:
|
|
84
|
+
InvalidRequirement = (
|
|
85
|
+
resources_module.extern.packaging.requirements.InvalidRequirement
|
|
86
|
+
)
|
|
87
|
+
except AttributeError:
|
|
88
|
+
InvalidRequirement = (
|
|
89
|
+
resources_module.packaging.requirements.InvalidRequirement
|
|
90
|
+
)
|
|
83
91
|
|
|
84
92
|
args = tuple(
|
|
85
93
|
element.getCompileTimeConstant() for element in self.subnode_requirements
|
|
@@ -135,8 +143,9 @@ class ExpressionPkgResourcesGetDistributionCall(
|
|
|
135
143
|
kind = "EXPRESSION_PKG_RESOURCES_GET_DISTRIBUTION_CALL"
|
|
136
144
|
|
|
137
145
|
def replaceWithCompileTimeValue(self, trace_collection):
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
pkg_resources_module = _getPkgResourcesModule()
|
|
147
|
+
get_distribution = pkg_resources_module.get_distribution
|
|
148
|
+
DistributionNotFound = pkg_resources_module.DistributionNotFound
|
|
140
149
|
|
|
141
150
|
arg = self.subnode_dist.getCompileTimeConstant()
|
|
142
151
|
|
|
@@ -363,8 +372,9 @@ class ExpressionPkgResourcesIterEntryPointsCall(
|
|
|
363
372
|
kind = "EXPRESSION_PKG_RESOURCES_ITER_ENTRY_POINTS_CALL"
|
|
364
373
|
|
|
365
374
|
def replaceWithCompileTimeValue(self, trace_collection):
|
|
366
|
-
|
|
367
|
-
|
|
375
|
+
pkg_resources_module = _getPkgResourcesModule()
|
|
376
|
+
iter_entry_points = pkg_resources_module.iter_entry_points
|
|
377
|
+
DistributionNotFound = pkg_resources_module.DistributionNotFound
|
|
368
378
|
|
|
369
379
|
group = self.subnode_group.getCompileTimeConstant()
|
|
370
380
|
if self.subnode_name is not None:
|
nuitka/plugins/PluginBase.py
CHANGED
|
@@ -603,13 +603,14 @@ Error, cannot eval module '%s' function '%s' replacement code '%s' in '%s' due t
|
|
|
603
603
|
return
|
|
604
604
|
|
|
605
605
|
if module_name.hasNamespace(handled_module_name):
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
606
|
+
if using_module_name is not None:
|
|
607
|
+
override_mode = self._getModuleBloatModeOverrides(
|
|
608
|
+
using_module_name=using_module_name,
|
|
609
|
+
intended_module_name=intended_module_name,
|
|
610
|
+
)
|
|
610
611
|
|
|
611
|
-
|
|
612
|
-
|
|
612
|
+
if override_mode is not None:
|
|
613
|
+
mode = override_mode
|
|
613
614
|
|
|
614
615
|
# Make sure the compilation aborts or warns if asked to
|
|
615
616
|
if mode == "error":
|
|
@@ -87,6 +87,8 @@ class NuitkaPluginDllFiles(NuitkaPluginBase):
|
|
|
87
87
|
exe = dll_config.get("executable", "no") == "yes"
|
|
88
88
|
|
|
89
89
|
suffixes = dll_config.get("suffixes")
|
|
90
|
+
if suffixes is not None:
|
|
91
|
+
suffixes = tuple(suffix.lstrip(".") for suffix in suffixes)
|
|
90
92
|
|
|
91
93
|
for prefix in dll_config.get("prefixes"):
|
|
92
94
|
if exe:
|
|
@@ -395,22 +395,25 @@ __file__ = (__nuitka_binary_dir + '%ssite.py') if '__nuitka_binary_dir' in dict(
|
|
|
395
395
|
|
|
396
396
|
# Inline the values, to avoid the data files.
|
|
397
397
|
if result is not None:
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
398
|
+
replacement = attach_call_replacement % {
|
|
399
|
+
"module_name": module_name.asString(),
|
|
400
|
+
"submodules": tuple(
|
|
401
|
+
sub_module_name.asString() for sub_module_name in result[0]
|
|
402
|
+
),
|
|
403
|
+
"attrs": dict(
|
|
404
|
+
(
|
|
405
|
+
sub_module_name.getChildNameFromPackage(
|
|
406
|
+
module_name
|
|
407
|
+
).asString(),
|
|
408
|
+
module_attributes,
|
|
409
|
+
)
|
|
410
|
+
for (sub_module_name, module_attributes) in sorted(
|
|
411
|
+
result[1].items()
|
|
412
|
+
)
|
|
413
|
+
),
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
source_code = source_code.replace(attach_call, replacement)
|
|
414
417
|
|
|
415
418
|
if module_name == "huggingface_hub":
|
|
416
419
|
# Special handling for huggingface that uses the source code variant
|
|
@@ -326,6 +326,57 @@
|
|
|
326
326
|
change_function:
|
|
327
327
|
'test': 'un-callable'
|
|
328
328
|
|
|
329
|
+
- module-name: 'bitsandbytes.cextension'
|
|
330
|
+
dlls:
|
|
331
|
+
- from_filenames:
|
|
332
|
+
prefixes:
|
|
333
|
+
- 'libbitsandbytes_'
|
|
334
|
+
suffixes:
|
|
335
|
+
# Applies currently to all OSes in bitsandbytes wheels.
|
|
336
|
+
- 'so'
|
|
337
|
+
|
|
338
|
+
- module-name: 'bitsandbytes.triton.dequantize_rowwise'
|
|
339
|
+
anti-bloat:
|
|
340
|
+
- description: 'remove setuptools usage via triton'
|
|
341
|
+
replacements_plain:
|
|
342
|
+
'is_triton_available()': 'False'
|
|
343
|
+
when: 'not use_setuptools'
|
|
344
|
+
|
|
345
|
+
- module-name: 'bitsandbytes.triton.int8_matmul_mixed_dequanitze'
|
|
346
|
+
anti-bloat:
|
|
347
|
+
- description: 'remove setuptools usage via triton'
|
|
348
|
+
replacements_plain:
|
|
349
|
+
'is_triton_available()': 'False'
|
|
350
|
+
when: 'not use_setuptools'
|
|
351
|
+
|
|
352
|
+
- module-name: 'bitsandbytes.triton.int8_matmul_rowwise_dequantize'
|
|
353
|
+
anti-bloat:
|
|
354
|
+
- description: 'remove setuptools usage via triton'
|
|
355
|
+
replacements_plain:
|
|
356
|
+
'is_triton_available()': 'False'
|
|
357
|
+
when: 'not use_setuptools'
|
|
358
|
+
|
|
359
|
+
- module-name: 'bitsandbytes.triton.quantize_columnwise_and_transpose'
|
|
360
|
+
anti-bloat:
|
|
361
|
+
- description: 'remove setuptools usage via triton'
|
|
362
|
+
replacements_plain:
|
|
363
|
+
'is_triton_available()': 'False'
|
|
364
|
+
when: 'not use_setuptools'
|
|
365
|
+
|
|
366
|
+
- module-name: 'bitsandbytes.triton.quantize_global'
|
|
367
|
+
anti-bloat:
|
|
368
|
+
- description: 'remove setuptools usage via triton'
|
|
369
|
+
replacements_plain:
|
|
370
|
+
'is_triton_available()': 'False'
|
|
371
|
+
when: 'not use_setuptools'
|
|
372
|
+
|
|
373
|
+
- module-name: 'bitsandbytes.triton.quantize_rowwise'
|
|
374
|
+
anti-bloat:
|
|
375
|
+
- description: 'remove setuptools usage via triton'
|
|
376
|
+
replacements_plain:
|
|
377
|
+
'is_triton_available()': 'False'
|
|
378
|
+
when: 'not use_setuptools'
|
|
379
|
+
|
|
329
380
|
- module-name: 'boto3'
|
|
330
381
|
data-files:
|
|
331
382
|
dirs:
|
|
@@ -508,6 +559,7 @@
|
|
|
508
559
|
implicit-imports:
|
|
509
560
|
- depends:
|
|
510
561
|
- 'chromadb.telemetry.posthog'
|
|
562
|
+
- 'chromadb.telemetry.product.posthog'
|
|
511
563
|
- 'chromadb.api.local'
|
|
512
564
|
- 'chromadb.db.duckdb'
|
|
513
565
|
- 'chromadb.db.impl.sqlite'
|
|
@@ -518,6 +570,7 @@
|
|
|
518
570
|
- 'chromadb.migrations.embeddings_queue'
|
|
519
571
|
- 'chromadb.migrations.sysdb'
|
|
520
572
|
- 'chromadb.migrations.metadb'
|
|
573
|
+
- 'chromadb.ingest.impl.simple_policy'
|
|
521
574
|
|
|
522
575
|
- module-name: 'chromadb.migrations.embeddings_queue'
|
|
523
576
|
data-files:
|
|
@@ -769,7 +822,7 @@
|
|
|
769
822
|
relative_path: 'OSX64'
|
|
770
823
|
prefixes:
|
|
771
824
|
- 'libDelphiFMX'
|
|
772
|
-
when: 'macos and
|
|
825
|
+
when: 'macos and arch_amd64'
|
|
773
826
|
- from_filenames:
|
|
774
827
|
relative_path: 'OSXARM64'
|
|
775
828
|
prefixes:
|
|
@@ -798,6 +851,13 @@
|
|
|
798
851
|
replacements_plain:
|
|
799
852
|
'from .testing import setup_test': ''
|
|
800
853
|
|
|
854
|
+
- module-name: 'distributed.client'
|
|
855
|
+
anti-bloat:
|
|
856
|
+
- description: 'remove IPython reference'
|
|
857
|
+
no-auto-follow:
|
|
858
|
+
'IPython': 'ignore'
|
|
859
|
+
when: 'not use_ipython'
|
|
860
|
+
|
|
801
861
|
- module-name: 'distributed.config'
|
|
802
862
|
data-files:
|
|
803
863
|
patterns:
|
|
@@ -810,6 +870,13 @@
|
|
|
810
870
|
'from IPython.display import display': 'raise ImportError'
|
|
811
871
|
when: 'not use_ipython'
|
|
812
872
|
|
|
873
|
+
- module-name: 'distributed.diagnostics.progressbar'
|
|
874
|
+
anti-bloat:
|
|
875
|
+
- description: 'remove IPython reference'
|
|
876
|
+
no-auto-follow:
|
|
877
|
+
'IPython': 'ignore'
|
|
878
|
+
when: 'not use_ipython'
|
|
879
|
+
|
|
813
880
|
- module-name: 'distributed.scheduler'
|
|
814
881
|
anti-bloat:
|
|
815
882
|
- description: 'remove cython support'
|
|
@@ -818,6 +885,13 @@
|
|
|
818
885
|
'from cython import compiled': 'raise ImportError'
|
|
819
886
|
'if compiled:': 'if False:'
|
|
820
887
|
|
|
888
|
+
- module-name: 'distributed.utils'
|
|
889
|
+
anti-bloat:
|
|
890
|
+
- description: 'remove IPython reference'
|
|
891
|
+
change_function:
|
|
892
|
+
'is_kernel': "'(lambda : False)'"
|
|
893
|
+
when: 'not use_ipython'
|
|
894
|
+
|
|
821
895
|
- module-name: 'dns.rdtypes'
|
|
822
896
|
implicit-imports:
|
|
823
897
|
- depends:
|
|
@@ -1433,6 +1507,8 @@
|
|
|
1433
1507
|
- description: 'workaround for forking itself'
|
|
1434
1508
|
replacements_plain:
|
|
1435
1509
|
"getattr(sys, 'frozen', False)": 'False'
|
|
1510
|
+
'getattr(sys, "frozen", False)': 'False'
|
|
1511
|
+
'assert is_forking(sys.argv), "Not forking"': ''
|
|
1436
1512
|
when: 'win32'
|
|
1437
1513
|
|
|
1438
1514
|
- module-name: 'joblib.externals.loky.backend.resource_tracker'
|
|
@@ -4150,6 +4226,13 @@
|
|
|
4150
4226
|
- 'skimage.restoration._unwrap_2d'
|
|
4151
4227
|
- 'skimage.restoration._unwrap_3d'
|
|
4152
4228
|
|
|
4229
|
+
- module-name: 'skimage.restoration._cycle_spin'
|
|
4230
|
+
anti-bloat:
|
|
4231
|
+
- description: 'remove optional dask usage'
|
|
4232
|
+
replacements_plain:
|
|
4233
|
+
'import dask': 'raise ImportError'
|
|
4234
|
+
when: 'not use_dask'
|
|
4235
|
+
|
|
4153
4236
|
- module-name: 'skimage.segmentation'
|
|
4154
4237
|
implicit-imports:
|
|
4155
4238
|
- depends:
|
nuitka/reports/Reports.py
CHANGED
nuitka/utils/Distributions.py
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import os
|
|
21
21
|
|
|
22
|
+
from nuitka.__past__ import unicode
|
|
22
23
|
from nuitka.containers.OrderedSets import OrderedSet
|
|
23
24
|
from nuitka.Options import isExperimental
|
|
24
25
|
from nuitka.PythonFlavors import isAnacondaPython
|
|
@@ -215,6 +216,8 @@ def getDistributionFromModuleName(module_name):
|
|
|
215
216
|
|
|
216
217
|
def getDistribution(distribution_name):
|
|
217
218
|
"""Get a distribution by name."""
|
|
219
|
+
assert isValidDistributionName(distribution_name), distribution_name
|
|
220
|
+
|
|
218
221
|
try:
|
|
219
222
|
if isExperimental("force-pkg-resources-metadata"):
|
|
220
223
|
raise ImportError
|
|
@@ -254,10 +257,16 @@ def isDistributionPipPackage(distribution_name):
|
|
|
254
257
|
return getDistributionInstallerName(distribution_name) == "pip"
|
|
255
258
|
|
|
256
259
|
|
|
260
|
+
def isDistributionPoetryPackage(distribution_name):
|
|
261
|
+
return getDistributionInstallerName(distribution_name).startswith("poetry")
|
|
262
|
+
|
|
263
|
+
|
|
257
264
|
def isDistributionSystemPackage(distribution_name):
|
|
258
|
-
result =
|
|
259
|
-
distribution_name
|
|
260
|
-
|
|
265
|
+
result = (
|
|
266
|
+
not isDistributionPipPackage(distribution_name)
|
|
267
|
+
and not isDistributionPoetryPackage(distribution_name)
|
|
268
|
+
and not isDistributionCondaPackage(distribution_name)
|
|
269
|
+
)
|
|
261
270
|
|
|
262
271
|
# This should only ever happen on Linux, lets know when it does happen
|
|
263
272
|
# elsewhere, since that is most probably a bug in our installer detection on
|
|
@@ -338,6 +347,10 @@ def getDistributionInstallerName(distribution_name):
|
|
|
338
347
|
return _distribution_to_installer[distribution_name]
|
|
339
348
|
|
|
340
349
|
|
|
350
|
+
def isValidDistributionName(distribution_name):
|
|
351
|
+
return type(distribution_name) in (str, unicode)
|
|
352
|
+
|
|
353
|
+
|
|
341
354
|
def getDistributionName(distribution):
|
|
342
355
|
"""Get the distribution name from a distribution object.
|
|
343
356
|
|
|
@@ -347,9 +360,12 @@ def getDistributionName(distribution):
|
|
|
347
360
|
"""
|
|
348
361
|
|
|
349
362
|
if hasattr(distribution, "metadata"):
|
|
350
|
-
|
|
363
|
+
result = distribution.metadata["Name"]
|
|
351
364
|
else:
|
|
352
|
-
|
|
365
|
+
result = distribution.project_name
|
|
366
|
+
|
|
367
|
+
assert isValidDistributionName(result), distribution
|
|
368
|
+
return result
|
|
353
369
|
|
|
354
370
|
|
|
355
371
|
def getDistributionVersion(distribution):
|
nuitka/utils/FileOperations.py
CHANGED
|
@@ -1053,6 +1053,10 @@ def isFilenameBelowPath(path, filename, consider_short=True):
|
|
|
1053
1053
|
filename = getExternalUsePath(filename)
|
|
1054
1054
|
path = getExternalUsePath(path)
|
|
1055
1055
|
|
|
1056
|
+
if isWin32Windows():
|
|
1057
|
+
if getWindowsDrive(path) != getWindowsDrive(filename):
|
|
1058
|
+
return False
|
|
1059
|
+
|
|
1056
1060
|
result = os.path.relpath(filename, path).split(os.path.sep)[0] != ".."
|
|
1057
1061
|
|
|
1058
1062
|
return result
|
nuitka/utils/ModuleNames.py
CHANGED
|
@@ -225,6 +225,13 @@ class ModuleName(str):
|
|
|
225
225
|
else:
|
|
226
226
|
return ModuleName(parent_new)
|
|
227
227
|
|
|
228
|
+
def getChildNameFromPackage(self, package_name):
|
|
229
|
+
"""Get child a module name part for a name in the package."""
|
|
230
|
+
assert self.hasNamespace(package_name)
|
|
231
|
+
|
|
232
|
+
submodule_name_str = str(self)[len(str(package_name)) + 1 :]
|
|
233
|
+
return ModuleName(submodule_name_str)
|
|
234
|
+
|
|
228
235
|
def matchesToShellPattern(self, pattern):
|
|
229
236
|
"""Match a module name to a list of patterns
|
|
230
237
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|