Nuitka-winsvc 1.9.2__cp312-cp312-win_amd64.whl → 1.9.5__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.5.dist-info}/METADATA +1 -1
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.5.dist-info}/RECORD +38 -38
- nuitka/MainControl.py +4 -4
- nuitka/PythonFlavors.py +13 -0
- nuitka/PythonVersions.py +0 -1
- nuitka/Version.py +1 -1
- nuitka/build/Backend.scons +9 -2
- nuitka/build/Onefile.scons +0 -8
- nuitka/build/SconsCompilerSettings.py +3 -0
- nuitka/build/SconsUtils.py +21 -11
- nuitka/build/static_src/HelpersDictionariesGenerated.c +1 -1
- nuitka/build/static_src/MainProgram.c +24 -1
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +11 -0
- nuitka/code_generation/ImportCodes.py +4 -2
- nuitka/code_generation/templates/CodeTemplatesModules.py +15 -1
- nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2 +1 -1
- nuitka/distutils/DistutilCommands.py +3 -1
- nuitka/freezer/DllDependenciesPosix.py +8 -1
- nuitka/nodes/PackageMetadataNodes.py +20 -9
- nuitka/plugins/PluginBase.py +4 -9
- nuitka/plugins/standard/AntiBloatPlugin.py +7 -6
- nuitka/plugins/standard/DillPlugin.py +1 -22
- nuitka/plugins/standard/DllFilesPlugin.py +2 -0
- nuitka/plugins/standard/ImplicitImports.py +20 -16
- nuitka/plugins/standard/OptionsNannyPlugin.py +1 -1
- nuitka/plugins/standard/standard.nuitka-package.config.yml +118 -9
- nuitka/reports/Reports.py +15 -0
- nuitka/utils/Distributions.py +26 -17
- nuitka/utils/FileOperations.py +19 -0
- nuitka/utils/ModuleNames.py +7 -0
- nuitka/utils/Utils.py +8 -0
- nuitka/utils/WindowsResources.py +6 -1
- {Nuitka_winsvc-1.9.2.data → Nuitka_winsvc-1.9.5.data}/scripts/nuitka-run.bat +0 -0
- {Nuitka_winsvc-1.9.2.data → Nuitka_winsvc-1.9.5.data}/scripts/nuitka.bat +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.5.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.5.dist-info}/WHEEL +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.5.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-1.9.2.dist-info → Nuitka_winsvc-1.9.5.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.5.data/scripts/nuitka-run.bat,sha256=ueVuKYMLV9dfqkkspy_F-2cpoZginLFiPDJAaj4fKYk,901
|
|
2
|
+
Nuitka_winsvc-1.9.5.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
|
|
@@ -7,36 +7,36 @@ nuitka/CacheCleanup.py,sha256=O8I7rCN7mcidgIJnTMHxf-sldx4v-XSFHF1pxN0x41c,1884
|
|
|
7
7
|
nuitka/Constants.py,sha256=PXaNIDJnZAe7en6-BiaDGZ0b98BrhSeFg-BjqJt4Grw,11148
|
|
8
8
|
nuitka/Errors.py,sha256=9KcyRVPQwozQ2jL8of5rb-I8bojBqoogZWnYZC-ZKzQ,2446
|
|
9
9
|
nuitka/HardImportRegistry.py,sha256=0cHxOOfsz4hv48d_oaqR-aLAwAOhTQ-MDlAQeLZWo_A,10182
|
|
10
|
-
nuitka/MainControl.py,sha256=
|
|
10
|
+
nuitka/MainControl.py,sha256=qDQGJx6LqpYG42HEStpHIau437JWnjIOml4y_djmK-8,37638
|
|
11
11
|
nuitka/ModuleRegistry.py,sha256=Hq6dcnyR228oENzo1g_f3OL9oXvLMY-NZ7x8UjxuSCU,7397
|
|
12
12
|
nuitka/OptionParsing.py,sha256=Ro_CfOHA-6ok_rTnH975DOK2YKgDLLdg6vVoruQoLR0,60538
|
|
13
13
|
nuitka/Options.py,sha256=gBPPrLoXufuBZOzFhQxNo2EtpK1nk-DK6RtEA0Zx-K0,69744
|
|
14
14
|
nuitka/OutputDirectories.py,sha256=kK-2IobI4u2KfyAHqY_W2IDo2-Vgd80NwSrhvlBH_6A,5022
|
|
15
15
|
nuitka/PostProcessing.py,sha256=JutKXQevVTRAGiJA1yE-RnZ2uwzQzaXgxsVEcEHNwLc,14546
|
|
16
16
|
nuitka/Progress.py,sha256=9nGTAZ46rQJ4KIcgNGQKZ9sEGJzK4trLbtvaeLJLIQg,6764
|
|
17
|
-
nuitka/PythonFlavors.py,sha256=
|
|
17
|
+
nuitka/PythonFlavors.py,sha256=K-bi2FEKjoGo6DrZ6Rs-BSSt1EsvdIuNhNFdYfKfJAY,8307
|
|
18
18
|
nuitka/PythonOperators.py,sha256=ZURjxq01Kei9hL5WPCjrHCFhrL15rZF9rJt1HHjEITA,4061
|
|
19
|
-
nuitka/PythonVersions.py,sha256=
|
|
19
|
+
nuitka/PythonVersions.py,sha256=LEFWUK4I9smD4twa6W5lcMminLE8F8oJZCRYu7Ie-0w,14270
|
|
20
20
|
nuitka/Serialization.py,sha256=cPrVs7kSlHXiw-c3ar2B09k45fE1-Ex_AHT0X9vkBno,9173
|
|
21
21
|
nuitka/SourceCodeReferences.py,sha256=hO9Cl-QYVTG9TspnW9_xkUbFOoVKFQt7JKD9AubXfmM,4670
|
|
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=RKt8ciwhQ152w0Cg634MtbjqVBkZIVF_U4vBAjScesQ,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
|
-
nuitka/build/SconsCompilerSettings.py,sha256=
|
|
34
|
+
nuitka/build/SconsCompilerSettings.py,sha256=2OzRareP-vkl1YDrcscmvTNpOcQAvnwIStW-aI8iKVg,35047
|
|
35
35
|
nuitka/build/SconsHacks.py,sha256=8rD2pua3uW9LMOurul1Xl7GUEqoR59okCg0e5RYY5eQ,5559
|
|
36
36
|
nuitka/build/SconsInterface.py,sha256=DwOyOjorA53HVqqWUv9ruvaFMZh04aeJHWT23yZN3_E,16400
|
|
37
37
|
nuitka/build/SconsProgress.py,sha256=iOYJlVt31-Ruyo7TqgNuRkDW3XxD25PRRuBNyCVrvEA,2671
|
|
38
38
|
nuitka/build/SconsSpawn.py,sha256=OZGIhbMbjhdAYo9NgTF_rqGztJHbdmOxtqd22e1tE1Y,12649
|
|
39
|
-
nuitka/build/SconsUtils.py,sha256=
|
|
39
|
+
nuitka/build/SconsUtils.py,sha256=oAM8xrjC0iHxy42DYzofs08yB0vPTx1oJBIQkU7Ix8w,24746
|
|
40
40
|
nuitka/build/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
41
41
|
nuitka/build/include/nuitka/allocator.h,sha256=ZBVucEwyBQfXYo6aVh2whGQnFTVImoCQshMCKrgrtUQ,7972
|
|
42
42
|
nuitka/build/include/nuitka/builtins.h,sha256=fZ3C5RJe_W11yB-mDKUtcTgeey_LaCSGW2PS-iT7UTA,3470
|
|
@@ -420,7 +420,7 @@ nuitka/build/static_src/HelpersComparisonNe.c,sha256=I4e6CvaVdpRzYZ04bf3mD5lCaOf
|
|
|
420
420
|
nuitka/build/static_src/HelpersConstantsBlob.c,sha256=LKcoc5L4LgePNtxG-G9SmbS3mlSkkttWWq5VYQhei2U,36747
|
|
421
421
|
nuitka/build/static_src/HelpersDeepcopy.c,sha256=Pe-gd797Fg4MTF0FmvemYV7a30KMjyVQ4U9RHs3d3Aw,20332
|
|
422
422
|
nuitka/build/static_src/HelpersDictionaries.c,sha256=D0e8cGTWpwDvlASz3WsPlwnTvz5JofJoal2QMWEMzCM,39555
|
|
423
|
-
nuitka/build/static_src/HelpersDictionariesGenerated.c,sha256=
|
|
423
|
+
nuitka/build/static_src/HelpersDictionariesGenerated.c,sha256=aFzQZLuxIRftWu01X0U1UtpVs3LtLznXolhmIwqNzXM,26592
|
|
424
424
|
nuitka/build/static_src/HelpersExceptions.c,sha256=8bKbTG0UbOCT1YYfVhYA7g-dxCgkaeS9Ov7UxPKy0uw,7116
|
|
425
425
|
nuitka/build/static_src/HelpersFiles.c,sha256=NCQPNlyNOPx9WnfqAcNvCRhPYPBr_HNPTiixYG9j1bw,7641
|
|
426
426
|
nuitka/build/static_src/HelpersFilesystemPaths.c,sha256=1hMtN2T1ulOyv8qqVmtrfy1N8Kfhb8iGG60imUBeKsg,28328
|
|
@@ -477,11 +477,11 @@ 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=3CNavXG290Lbtilw90H6fX-RPFllhAMN4Js7Ob50QP8,52610
|
|
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
|
|
484
|
-
nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c,sha256=
|
|
484
|
+
nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c,sha256=H6vtnpCSCM0cSe9nrtNx0BNHjW6zcmyyVVQ0ojiQcSY,21867
|
|
485
485
|
nuitka/build/static_src/OnefileBootstrap.c,sha256=X8AE-vZ5m0ZC8eHWzh1lEzXv1HefgD0K0Tp-XrDIO20,37047
|
|
486
486
|
nuitka/build/static_src/OnefileSplashScreen.cpp,sha256=bOcTFq4Nbs9nxtOJKhTdydSYiKC_Odbe_IF1IpFBe10,8021
|
|
487
487
|
nuitka/code_generation/AsyncgenCodes.py,sha256=tymRkGr9sOEPZZxPbmaAhg_CXtugIVzWzYNPGcYfuzI,6458
|
|
@@ -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
|
|
@@ -567,7 +567,7 @@ nuitka/code_generation/templates/CodeTemplatesFunction.py,sha256=CNQi1wHTP_7uO8w
|
|
|
567
567
|
nuitka/code_generation/templates/CodeTemplatesGeneratorFunction.py,sha256=8BwEathqo8x9uiRtsdlrFKnR__4gnNJCdIhrtoLdS54,3337
|
|
568
568
|
nuitka/code_generation/templates/CodeTemplatesIterators.py,sha256=VBgVHoAWhAryHS09QOdFo0R1WCSxZY_ThMIi0_a1yGc,2377
|
|
569
569
|
nuitka/code_generation/templates/CodeTemplatesLoader.py,sha256=ejXbuOJal4r7xiUFkeosQCxydF2dshkMl6m4e4ISlG0,4503
|
|
570
|
-
nuitka/code_generation/templates/CodeTemplatesModules.py,sha256=
|
|
570
|
+
nuitka/code_generation/templates/CodeTemplatesModules.py,sha256=SVkO5gsA48Xg9tJAslvCYt6oDz8ai8-RdiNgPRmQs7A,21115
|
|
571
571
|
nuitka/code_generation/templates/CodeTemplatesVariables.py,sha256=Bci9l_bl0VniyHGN0KJAl-2WuhJ-KzNbC2WfwY_Gnyc,6768
|
|
572
572
|
nuitka/code_generation/templates/TemplateDebugWrapper.py,sha256=0A9EH36wvCHkIRc-8aJFZVz0mkuh52Gfsa0NTwAfSb0,2475
|
|
573
573
|
nuitka/code_generation/templates/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
@@ -578,7 +578,7 @@ nuitka/code_generation/templates_c/CodeTemplateCallsPositionalMethodDescr.c.j2,s
|
|
|
578
578
|
nuitka/code_generation/templates_c/CodeTemplateMakeListHinted.c.j2,sha256=hcXS7Nq3Pjpa8yK_KfXS96MuX5Sxw41VqWIF0TnWk2U,1905
|
|
579
579
|
nuitka/code_generation/templates_c/CodeTemplateMakeListSmall.c.j2,sha256=5rvW8oQwdmdYKPaNQcB2tpX4Vr8SoInWHvqMfVeWclM,1843
|
|
580
580
|
nuitka/code_generation/templates_c/HelperBuiltinMethodOperation.c.j2,sha256=QCsqiRNT3e-O8nA6n66OWWKB9KrZbXd7UCMFL64KE3o,2856
|
|
581
|
-
nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2,sha256=
|
|
581
|
+
nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2,sha256=e-iG-XuVZIntGDThn9LQGwEA80rcGVy0y9DzNZarpzc,13774
|
|
582
582
|
nuitka/code_generation/templates_c/HelperImportHard.c.j2,sha256=2xLdu2T5wQgfMbcpvM1tsvvehocEMUF0Izt-3aWoqOs,2044
|
|
583
583
|
nuitka/code_generation/templates_c/HelperLongTools.c.j2,sha256=ONJg3NJwvp2aoOr8jJpb0e_HSeUVLRLmShNbKIH-L2E,2762
|
|
584
584
|
nuitka/code_generation/templates_c/HelperObjectTools.c.j2,sha256=NtA_GIE5xHJg4INUbxkTS2MGdUM9pbCzpoUM4c3BVZ8,1544
|
|
@@ -610,7 +610,7 @@ nuitka/containers/OrderedSets.py,sha256=tS4BfTkzZuIJqYd5KgT8vzOJXmw691JQR9Id8WOy
|
|
|
610
610
|
nuitka/containers/OrderedSetsFallback.py,sha256=T67vTxWdWe0JEMhvfeQsXpE6X_ZweoIOz1DOxsDDcGc,4397
|
|
611
611
|
nuitka/containers/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
612
612
|
nuitka/distutils/Build.py,sha256=GKvbs4q_xczpnMq-hWR12iP0tv4uEblgJiA9w1l13B4,2269
|
|
613
|
-
nuitka/distutils/DistutilCommands.py,sha256=
|
|
613
|
+
nuitka/distutils/DistutilCommands.py,sha256=SRnPAU3vI_3r61HJbPb_MpbwhlFzqYojNZUyoBmlEdk,14727
|
|
614
614
|
nuitka/distutils/__init__.py,sha256=iZG7yicSsBwC9oGrAFAJSzSlj0bmpyijEHyrTKLQ8GM,833
|
|
615
615
|
nuitka/finalizations/Finalization.py,sha256=XhTDD_gRtzJFvG7TtOKVAcdVANa_Q0wFx2q3Pjno-u8,1224
|
|
616
616
|
nuitka/finalizations/FinalizeMarkups.py,sha256=KcO5e4oh3A7UZMXEbBxPxjLrhvgixHQ8IJwASbCmgy8,6111
|
|
@@ -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=jdvNbw8h5jSES1SuHm1T_4DHdBMProB_tzwWjvaii_o,34766
|
|
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,26 +741,26 @@ 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=4Yt9AhSUBvary8nxSvEGewRAvnfyJ3ADsWs82kS40xY,43029
|
|
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
|
-
nuitka/plugins/standard/DillPlugin.py,sha256=
|
|
752
|
-
nuitka/plugins/standard/DllFilesPlugin.py,sha256=
|
|
751
|
+
nuitka/plugins/standard/DillPlugin.py,sha256=wItDo1v-B5dbGApvzuayDwiPvAr5zR5Rhx7UA5T_GK0,1725
|
|
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=WqwrY8hZXoaWqakEe1uR0-slKxmQ8xANNuB6WBMJtDs,28447
|
|
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
|
|
762
762
|
nuitka/plugins/standard/NumpyPlugin.py,sha256=tZx2CMT0mSm47Hti3LiNQNr19OWFS-PLiRbvNLBkyrw,1187
|
|
763
|
-
nuitka/plugins/standard/OptionsNannyPlugin.py,sha256=
|
|
763
|
+
nuitka/plugins/standard/OptionsNannyPlugin.py,sha256=7N4RVwgAwAqhpvwd6dfU2FXPLEsco2zkRGCOvjqUX-U,7057
|
|
764
764
|
nuitka/plugins/standard/PbrPlugin.py,sha256=7j9hXRn7NTXG_5yVuYumlEfGG07jZSGN2L2AFzW_aBY,1917
|
|
765
765
|
nuitka/plugins/standard/PkgResourcesPlugin.py,sha256=ku_WIbiuP2l2n5BjDFmA1d0GnZ7gIygUNkAR6czLkys,4682
|
|
766
766
|
nuitka/plugins/standard/PmwPlugin.py,sha256=OBvO1JO1NufBN0tFLUcAO33quHH9hhJ1WWNZov9D-cg,7009
|
|
@@ -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=yUa0hi-QtWXufzm6OwuQtiFObhAMF1hI5WpwTGE4yCo,190760
|
|
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=NY56pN-53msKRoWBhE28AkvI6sulqu1sX7AgOAfhKU4,24483
|
|
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=7qhBmy645WVkaDPjD-7vDWCDRqbNJG4RQblGcLAVtsA,12943
|
|
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=UN9gSkmsZuKthds9l4bBkvW59S50GbVeC_TZLQpAPZw,39971
|
|
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
|
|
@@ -901,14 +901,14 @@ nuitka/utils/SlotMetaClasses.py,sha256=KpmEp9dsnZs_tL1Lli9Kn1gqt2Hx6U6RxquI5k9Np
|
|
|
901
901
|
nuitka/utils/StaticLibraries.py,sha256=2j0vufNxc7Epf7nTyjPDB4oRxIoB70rt8q3EuJqdPLM,6207
|
|
902
902
|
nuitka/utils/ThreadedExecutor.py,sha256=AeSRZn_S015dgeHF7u7lclQCQORI_-XVKPULwn2Pga4,2602
|
|
903
903
|
nuitka/utils/Timing.py,sha256=WyW2Kf9YTXLy9oheE2B5EZjyOEY8cotYNOIy_TFHfUY,2772
|
|
904
|
-
nuitka/utils/Utils.py,sha256=
|
|
904
|
+
nuitka/utils/Utils.py,sha256=RH2PGCi4C8l5TqG4cftNu5f4UGnr9_ZKTrWMIEDHiNU,11360
|
|
905
905
|
nuitka/utils/WindowsFileUsage.py,sha256=-HWxgeimCX2pz6oAUI0T7wSJN1tbk8XyIzPywdd0owc,10574
|
|
906
|
-
nuitka/utils/WindowsResources.py,sha256=
|
|
906
|
+
nuitka/utils/WindowsResources.py,sha256=Nf4DRlj7bQrdDXPNKqujqZCbppNx7xrdHuUP7pjVixc,19804
|
|
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.5.dist-info/LICENSE.txt,sha256=ZWq74m8T3pVbRFjCBu74q_4GyW11rCqtYB_1vZ4rQ88,11348
|
|
910
|
+
Nuitka_winsvc-1.9.5.dist-info/METADATA,sha256=q6DRRcC-cNfYgWHUBZTkSzTpttjwoB-owHGGnvn3DsM,4909
|
|
911
|
+
Nuitka_winsvc-1.9.5.dist-info/WHEEL,sha256=j9Aissza3750LQHFAQyYerNjmkEON1-8w_RaZNFtKSs,102
|
|
912
|
+
Nuitka_winsvc-1.9.5.dist-info/entry_points.txt,sha256=jeBnijqxZ4U0WpNEdtaogpNMNlv5jw8H7yMOsf2isFc,308
|
|
913
|
+
Nuitka_winsvc-1.9.5.dist-info/top_level.txt,sha256=TRrfKxSYukbo1yzTGfwyH7wVzhDpKlwQsLjhIr15yqY,7
|
|
914
|
+
Nuitka_winsvc-1.9.5.dist-info/RECORD,,
|
nuitka/MainControl.py
CHANGED
|
@@ -65,6 +65,7 @@ from nuitka.Progress import (
|
|
|
65
65
|
)
|
|
66
66
|
from nuitka.PythonFlavors import (
|
|
67
67
|
isApplePython,
|
|
68
|
+
isArchPackagePython,
|
|
68
69
|
isDebianPackagePython,
|
|
69
70
|
isFedoraPackagePython,
|
|
70
71
|
isNuitkaPython,
|
|
@@ -608,13 +609,12 @@ def runSconsBackend():
|
|
|
608
609
|
|
|
609
610
|
if isDebianPackagePython():
|
|
610
611
|
options["debian_python"] = asBoolStr(True)
|
|
611
|
-
|
|
612
612
|
if isFedoraPackagePython():
|
|
613
613
|
options["fedora_python"] = asBoolStr(True)
|
|
614
|
-
|
|
614
|
+
if isArchPackagePython():
|
|
615
|
+
options["arch_python"] = asBoolStr(True)
|
|
615
616
|
if isApplePython():
|
|
616
617
|
options["apple_python"] = asBoolStr(True)
|
|
617
|
-
|
|
618
618
|
if isPyenvPython():
|
|
619
619
|
options["pyenv_python"] = asBoolStr(True)
|
|
620
620
|
|
|
@@ -1091,7 +1091,7 @@ not use compiled code while it exists."""
|
|
|
1091
1091
|
|
|
1092
1092
|
# Execute the module immediately if option was given.
|
|
1093
1093
|
if Options.shallExecuteImmediately():
|
|
1094
|
-
general.info("Launching '%s'" % run_filename)
|
|
1094
|
+
general.info("Launching '%s'." % run_filename)
|
|
1095
1095
|
|
|
1096
1096
|
if Options.shallMakeModule():
|
|
1097
1097
|
executeModule(
|
nuitka/PythonFlavors.py
CHANGED
|
@@ -34,6 +34,7 @@ from nuitka.utils.FileOperations import (
|
|
|
34
34
|
)
|
|
35
35
|
from nuitka.utils.Utils import (
|
|
36
36
|
isAndroidBasedLinux,
|
|
37
|
+
isArchBasedLinux,
|
|
37
38
|
isFedoraBasedLinux,
|
|
38
39
|
isLinux,
|
|
39
40
|
isMacOS,
|
|
@@ -237,6 +238,16 @@ def isFedoraPackagePython():
|
|
|
237
238
|
return system_prefix_path == "/usr"
|
|
238
239
|
|
|
239
240
|
|
|
241
|
+
def isArchPackagePython():
|
|
242
|
+
"""Is the Python from a Fedora package."""
|
|
243
|
+
if not isArchBasedLinux():
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
system_prefix_path = getSystemPrefixPath()
|
|
247
|
+
|
|
248
|
+
return system_prefix_path == "/usr"
|
|
249
|
+
|
|
250
|
+
|
|
240
251
|
def isCPythonOfficialPackage():
|
|
241
252
|
"""Official CPython download, kind of hard to detect since self-compiled doesn't change much."""
|
|
242
253
|
|
|
@@ -277,6 +288,8 @@ def getPythonFlavorName():
|
|
|
277
288
|
return "Debian Python"
|
|
278
289
|
elif isFedoraPackagePython():
|
|
279
290
|
return "Fedora Python"
|
|
291
|
+
elif isArchPackagePython():
|
|
292
|
+
return "Arch Python"
|
|
280
293
|
elif isHomebrewPython():
|
|
281
294
|
return "Homebrew Python"
|
|
282
295
|
elif isApplePython():
|
nuitka/PythonVersions.py
CHANGED
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
|
|
|
@@ -164,6 +164,9 @@ def _enableLtoSettings(
|
|
|
164
164
|
elif env.fedora_python:
|
|
165
165
|
lto_mode = True
|
|
166
166
|
reason = "known to be supported (Fedora Python)"
|
|
167
|
+
elif env.arch_python:
|
|
168
|
+
lto_mode = True
|
|
169
|
+
reason = "known to be supported (Arch Python)"
|
|
167
170
|
elif (
|
|
168
171
|
env.debian_python
|
|
169
172
|
and env.gcc_mode
|
nuitka/build/SconsUtils.py
CHANGED
|
@@ -30,8 +30,13 @@ from nuitka.__past__ import basestring, unicode
|
|
|
30
30
|
from nuitka.containers.OrderedDicts import OrderedDict
|
|
31
31
|
from nuitka.Tracing import scons_details_logger, scons_logger
|
|
32
32
|
from nuitka.utils.Execution import executeProcess
|
|
33
|
-
from nuitka.utils.FileOperations import
|
|
34
|
-
|
|
33
|
+
from nuitka.utils.FileOperations import (
|
|
34
|
+
getFileContentByLine,
|
|
35
|
+
getWindowsShortPathName,
|
|
36
|
+
isFilesystemEncodable,
|
|
37
|
+
openTextFile,
|
|
38
|
+
)
|
|
39
|
+
from nuitka.utils.Utils import isLinux, isMacOS, isPosixWindows, isWin32Windows
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
def initScons():
|
|
@@ -238,6 +243,7 @@ def createEnvironment(
|
|
|
238
243
|
env.nuitka_python = getArgumentBool("nuitka_python", False)
|
|
239
244
|
env.debian_python = getArgumentBool("debian_python", False)
|
|
240
245
|
env.fedora_python = getArgumentBool("fedora_python", False)
|
|
246
|
+
env.arch_python = getArgumentBool("arch_python", False)
|
|
241
247
|
env.msys2_mingw_python = getArgumentBool("msys2_mingw_python", False)
|
|
242
248
|
env.anaconda_python = getArgumentBool("anaconda_python", False)
|
|
243
249
|
env.pyenv_python = getArgumentBool("pyenv_python", False)
|
|
@@ -542,32 +548,36 @@ def scanSourceDir(env, dirname, plugins):
|
|
|
542
548
|
# name.
|
|
543
549
|
added_path = False
|
|
544
550
|
|
|
545
|
-
for
|
|
546
|
-
if
|
|
551
|
+
for filename_base in sorted(os.listdir(dirname)):
|
|
552
|
+
if filename_base.endswith(".h") and plugins and not added_path:
|
|
547
553
|
# Adding path for source paths on the fly, spell-checker: ignore cpppath
|
|
548
554
|
env.Append(CPPPATH=[dirname])
|
|
549
555
|
added_path = True
|
|
550
556
|
|
|
551
557
|
# Only C files are of interest here.
|
|
552
|
-
if not
|
|
558
|
+
if not filename_base.endswith((".c", "cpp")) or not filename_base.startswith(
|
|
553
559
|
("module.", "__", "plugin.")
|
|
554
560
|
):
|
|
555
561
|
continue
|
|
556
562
|
|
|
557
|
-
filename = os.path.join(dirname,
|
|
563
|
+
filename = os.path.join(dirname, filename_base)
|
|
558
564
|
|
|
559
|
-
|
|
565
|
+
target_filename = filename
|
|
566
|
+
|
|
567
|
+
if isWin32Windows() and not isFilesystemEncodable(filename_base):
|
|
568
|
+
target_filename = getWindowsShortPathName(target_filename)
|
|
569
|
+
target_filename = os.path.normcase(target_filename)
|
|
560
570
|
|
|
561
571
|
# We pretend to use C++ if no C11 compiler is present.
|
|
562
572
|
if env.c11_mode:
|
|
563
|
-
yield
|
|
573
|
+
yield target_filename
|
|
564
574
|
else:
|
|
565
575
|
if filename.endswith(".c"):
|
|
566
|
-
|
|
576
|
+
target_filename += "pp" # .cpp" suffix then
|
|
567
577
|
|
|
568
|
-
os.rename(filename,
|
|
578
|
+
os.rename(filename, target_filename)
|
|
569
579
|
|
|
570
|
-
yield
|
|
580
|
+
yield target_filename
|
|
571
581
|
|
|
572
582
|
|
|
573
583
|
def makeCLiteral(value):
|
|
@@ -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,19 @@ 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
|
+
}
|
|
1504
1527
|
|
|
1505
1528
|
int exit_code = HANDLE_PROGRAM_EXIT(tstate);
|
|
1506
1529
|
|
|
@@ -221,6 +221,16 @@ static PyObject *Nuitka_ResourceReaderFiles_read_text(struct Nuitka_ResourceRead
|
|
|
221
221
|
return result;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
static PyObject *Nuitka_ResourceReaderFiles_exists(struct Nuitka_ResourceReaderFilesObject *files, PyObject *args,
|
|
225
|
+
PyObject *kwds) {
|
|
226
|
+
|
|
227
|
+
PyThreadState *tstate = PyThreadState_GET();
|
|
228
|
+
PyObject *file_name = _Nuitka_ResourceReaderFiles_GetPath(tstate, files);
|
|
229
|
+
PyObject *result = OS_PATH_FILE_EXISTS(tstate, file_name);
|
|
230
|
+
Py_DECREF(file_name);
|
|
231
|
+
return result;
|
|
232
|
+
}
|
|
233
|
+
|
|
224
234
|
// @abc.abstractmethod
|
|
225
235
|
// def is_dir(self) -> bool:
|
|
226
236
|
// """
|
|
@@ -451,6 +461,7 @@ static PyMethodDef Nuitka_ResourceReaderFiles_methods[] = {
|
|
|
451
461
|
{"iterdir", (PyCFunction)Nuitka_ResourceReaderFiles_iterdir, METH_NOARGS, NULL},
|
|
452
462
|
{"read_bytes", (PyCFunction)Nuitka_ResourceReaderFiles_read_bytes, METH_NOARGS, NULL},
|
|
453
463
|
{"read_text", (PyCFunction)Nuitka_ResourceReaderFiles_read_text, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
464
|
+
{"exists", (PyCFunction)Nuitka_ResourceReaderFiles_exists, METH_NOARGS, NULL},
|
|
454
465
|
{"is_dir", (PyCFunction)Nuitka_ResourceReaderFiles_is_dir, METH_NOARGS, NULL},
|
|
455
466
|
{"is_file", (PyCFunction)Nuitka_ResourceReaderFiles_is_file, METH_NOARGS, NULL},
|
|
456
467
|
{"joinpath", (PyCFunction)Nuitka_ResourceReaderFiles_joinpath, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
@@ -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,
|
|
@@ -313,7 +313,21 @@ PyObject *modulecode_%(module_identifier)s(PyThreadState *tstate, PyObject *modu
|
|
|
313
313
|
moduledict_%(module_identifier)s = MODULE_DICT(module_%(module_identifier)s);
|
|
314
314
|
|
|
315
315
|
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
|
|
316
|
-
|
|
316
|
+
{
|
|
317
|
+
char const *module_name_c;
|
|
318
|
+
if (loader_entry != NULL) {
|
|
319
|
+
module_name_c = loader_entry->name;
|
|
320
|
+
} else {
|
|
321
|
+
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_%(module_identifier)s, (Nuitka_StringObject *)const_str_plain___name__);
|
|
322
|
+
module_name_c = Nuitka_String_AsString(module_name);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
registerDillPluginTables(tstate, module_name_c, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
317
331
|
#endif
|
|
318
332
|
|
|
319
333
|
// Set "__compiled__" to what version information we have.
|
|
@@ -323,7 +323,9 @@ class build(distutils.command.build.build):
|
|
|
323
323
|
for option, value in toml_options.get("nuitka", {}).items():
|
|
324
324
|
command.extend(self._parseOptionsEntry(option, value))
|
|
325
325
|
|
|
326
|
-
for option, value in
|
|
326
|
+
for option, value in (
|
|
327
|
+
toml_options.get("tool", {}).get("nuitka", {}).items()
|
|
328
|
+
):
|
|
327
329
|
command.extend(self._parseOptionsEntry(option, value))
|
|
328
330
|
|
|
329
331
|
# Process any extra options from setuptools
|
|
@@ -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")
|