@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.14\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-09-16 17:23 +0000\n "
14
+ "POT-Creation-Date : 2025-09-29 14:15 +0000\n "
15
15
"PO-Revision-Date : 2025-09-16 00:02+0000\n "
16
16
"Last-Translator : python-doc bot, 2025\n "
17
17
"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -241,9 +241,9 @@ msgstr ""
241
241
242
242
msgid ""
243
243
"Build or obtain a Python ``XCFramework``. See the instructions in :source:"
244
- "`iOS/README.rst ` (in the CPython source distribution) for details on how to "
245
- "build a Python ``XCFramework``. At a minimum, you will need a build that "
246
- "supports ``arm64-apple-ios``, plus one of either ``arm64-apple-ios-"
244
+ "`Apple/ iOS/README.md ` (in the CPython source distribution) for details on "
245
+ "how to build a Python ``XCFramework``. At a minimum, you will need a build "
246
+ "that supports ``arm64-apple-ios``, plus one of either ``arm64-apple-ios-"
247
247
"simulator`` or ``x86_64-apple-ios-simulator``."
248
248
msgstr ""
249
249
@@ -254,11 +254,6 @@ msgid ""
254
254
"adjusting paths as needed."
255
255
msgstr ""
256
256
257
- msgid ""
258
- "Drag the ``iOS/Resources/dylib-Info-template.plist`` file into your project, "
259
- "and ensure it is associated with the app target."
260
- msgstr ""
261
-
262
257
msgid ""
263
258
"Add your application code as a folder in your Xcode project. In the "
264
259
"following instructions, we'll assume that your user code is in a folder "
@@ -306,103 +301,23 @@ msgid "Quoted Include In Framework Header: No"
306
301
msgstr ""
307
302
308
303
msgid ""
309
- "Add a build step that copies the Python standard library into your app. In "
310
- "the \" Build Phases\" tab, add a new \" Run Script\" build step *before* the "
311
- "\" Embed Frameworks\" step, but *after* the \" Copy Bundle Resources\" step. "
312
- "Name the step \" Install Target Specific Python Standard Library\" , disable "
313
- "the \" Based on dependency analysis\" checkbox, and set the script content to:"
304
+ "Add a build step that processes the Python standard library, and your own "
305
+ "Python binary dependencies. In the \" Build Phases\" tab, add a new \" Run "
306
+ "Script\" build step *before* the \" Embed Frameworks\" step, but *after* the "
307
+ "\" Copy Bundle Resources\" step. Name the step \" Process Python libraries\" , "
308
+ "disable the \" Based on dependency analysis\" checkbox, and set the script "
309
+ "content to:"
314
310
msgstr ""
315
311
316
312
msgid ""
317
313
"set -e\n"
318
- "\n"
319
- "mkdir -p \" $CODESIGNING_FOLDER_PATH/python/lib\" \n"
320
- "if [ \" $EFFECTIVE_PLATFORM_NAME\" = \" -iphonesimulator\" ]; then\n"
321
- " echo \" Installing Python modules for iOS Simulator\" \n"
322
- " rsync -au --delete \" $PROJECT_DIR/Python.xcframework/ios-arm64_x86_64-"
323
- "simulator/lib/\" \" $CODESIGNING_FOLDER_PATH/python/lib/\" \n"
324
- "else\n"
325
- " echo \" Installing Python modules for iOS Device\" \n"
326
- " rsync -au --delete \" $PROJECT_DIR/Python.xcframework/ios-arm64/lib/\" "
327
- "\" $CODESIGNING_FOLDER_PATH/python/lib/\" \n"
328
- "fi"
329
- msgstr ""
330
-
331
- msgid ""
332
- "Note that the name of the simulator \" slice\" in the XCframework may be "
333
- "different, depending the CPU architectures your ``XCFramework`` supports."
334
- msgstr ""
335
-
336
- msgid ""
337
- "Add a second build step that processes the binary extension modules in the "
338
- "standard library into \" Framework\" format. Add a \" Run Script\" build step "
339
- "*directly after* the one you added in step 8, named \" Prepare Python Binary "
340
- "Modules\" . It should also have \" Based on dependency analysis\" unchecked, "
341
- "with the following script content:"
314
+ "source $PROJECT_DIR/Python.xcframework/build/build_utils.sh\n"
315
+ "install_python Python.xcframework app"
342
316
msgstr ""
343
317
344
318
msgid ""
345
- "set -e\n"
346
- "\n"
347
- "install_dylib () {\n"
348
- " INSTALL_BASE=$1\n"
349
- " FULL_EXT=$2\n"
350
- "\n"
351
- " # The name of the extension file\n"
352
- " EXT=$(basename \" $FULL_EXT\" )\n"
353
- " # The location of the extension file, relative to the bundle\n"
354
- " RELATIVE_EXT=${FULL_EXT#$CODESIGNING_FOLDER_PATH/}\n"
355
- " # The path to the extension file, relative to the install base\n"
356
- " PYTHON_EXT=${RELATIVE_EXT/$INSTALL_BASE/}\n"
357
- " # The full dotted name of the extension module, constructed from the "
358
- "file path.\n"
359
- " FULL_MODULE_NAME=$(echo $PYTHON_EXT | cut -d \" .\" -f 1 | tr \" /\" \" ."
360
- "\" );\n"
361
- " # A bundle identifier; not actually used, but required by Xcode "
362
- "framework packaging\n"
363
- " FRAMEWORK_BUNDLE_ID=$(echo $PRODUCT_BUNDLE_IDENTIFIER.$FULL_MODULE_NAME "
364
- "| tr \" _\" \" -\" )\n"
365
- " # The name of the framework folder.\n"
366
- " FRAMEWORK_FOLDER=\" Frameworks/$FULL_MODULE_NAME.framework\" \n"
367
- "\n"
368
- " # If the framework folder doesn't exist, create it.\n"
369
- " if [ ! -d \" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER\" ]; then\n"
370
- " echo \" Creating framework for $RELATIVE_EXT\" \n"
371
- " mkdir -p \" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER\" \n"
372
- " cp \" $CODESIGNING_FOLDER_PATH/dylib-Info-template.plist\" "
373
- "\" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\" \n"
374
- " plutil -replace CFBundleExecutable -string \" $FULL_MODULE_NAME\" "
375
- "\" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\" \n"
376
- " plutil -replace CFBundleIdentifier -string \" $FRAMEWORK_BUNDLE_ID\" "
377
- "\" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\" \n"
378
- " fi\n"
379
- "\n"
380
- " echo \" Installing binary for $FRAMEWORK_FOLDER/$FULL_MODULE_NAME\" \n"
381
- " mv \" $FULL_EXT\" \" $CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/"
382
- "$FULL_MODULE_NAME\" \n"
383
- " # Create a placeholder .fwork file where the .so was\n"
384
- " echo \" $FRAMEWORK_FOLDER/$FULL_MODULE_NAME\" > ${FULL_EXT%.so}.fwork\n"
385
- " # Create a back reference to the .so file location in the framework\n"
386
- " echo \" ${RELATIVE_EXT%.so}.fwork\" > \" $CODESIGNING_FOLDER_PATH/"
387
- "$FRAMEWORK_FOLDER/$FULL_MODULE_NAME.origin\" \n"
388
- " }\n"
389
- "\n"
390
- " PYTHON_VER=$(ls -1 \" $CODESIGNING_FOLDER_PATH/python/lib\" )\n"
391
- " echo \" Install Python $PYTHON_VER standard library extension modules...\" \n"
392
- " find \" $CODESIGNING_FOLDER_PATH/python/lib/$PYTHON_VER/lib-dynload\" -name "
393
- "\" *.so\" | while read FULL_EXT; do\n"
394
- " install_dylib python/lib/$PYTHON_VER/lib-dynload/ \" $FULL_EXT\" \n"
395
- " done\n"
396
- "\n"
397
- " # Clean up dylib template\n"
398
- " rm -f \" $CODESIGNING_FOLDER_PATH/dylib-Info-template.plist\" \n"
399
- "\n"
400
- " echo \" Signing frameworks as $EXPANDED_CODE_SIGN_IDENTITY_NAME "
401
- "($EXPANDED_CODE_SIGN_IDENTITY)...\" \n"
402
- " find \" $CODESIGNING_FOLDER_PATH/Frameworks\" -name \" *.framework\" -exec /"
403
- "usr/bin/codesign --force --sign \" $EXPANDED_CODE_SIGN_IDENTITY\" "
404
- "${OTHER_CODE_SIGN_FLAGS:-} -o runtime --timestamp=none --preserve-"
405
- "metadata=identifier,entitlements,flags --generate-entitlement-der \" {}\" \\ ;"
319
+ "If you have placed your XCframework somewhere other than the root of your "
320
+ "project, modify the path to the first argument."
406
321
msgstr ""
407
322
408
323
msgid ""
@@ -452,29 +367,23 @@ msgid ""
452
367
msgstr ""
453
368
454
369
msgid ""
455
- "Steps 8, 9 and 10 of these instructions assume that you have a single folder "
456
- "of pure Python application code, named ``app``. If you have third-party "
457
- "binary modules in your app, some additional steps will be required:"
370
+ "Steps 7 and 8 of these instructions assume that you have a single folder of "
371
+ "pure Python application code, named ``app``. If you have third-party binary "
372
+ "modules in your app, some additional steps will be required:"
458
373
msgstr ""
459
374
460
375
msgid ""
461
376
"You need to ensure that any folders containing third-party binaries are "
462
- "either associated with the app target, or copied in as part of step 8. Step "
463
- "8 should also purge any binaries that are not appropriate for the platform a "
464
- "specific build is targeting (i.e., delete any device binaries if you're "
465
- "building an app targeting the simulator)."
466
- msgstr ""
467
-
468
- msgid ""
469
- "Any folders that contain third-party binaries must be processed into "
470
- "framework form by step 9. The invocation of ``install_dylib`` that processes "
471
- "the ``lib-dynload`` folder can be copied and adapted for this purpose."
377
+ "either associated with the app target, or are explicitly copied as part of "
378
+ "step 7. Step 7 should also purge any binaries that are not appropriate for "
379
+ "the platform a specific build is targeting (i.e., delete any device binaries "
380
+ "if you're building an app targeting the simulator)."
472
381
msgstr ""
473
382
474
383
msgid ""
475
384
"If you're using a separate folder for third-party packages, ensure that "
476
- "folder is included as part of the :envvar:`PYTHONPATH` configuration in step "
477
- "10 ."
385
+ "folder is added to the end of the call to ``install_python`` in step 7, and "
386
+ "as part of the :envvar:`PYTHONPATH` configuration in step 8 ."
478
387
msgstr ""
479
388
480
389
msgid ""
@@ -488,31 +397,38 @@ msgid "Testing a Python package"
488
397
msgstr ""
489
398
490
399
msgid ""
491
- "The CPython source tree contains :source:`a testbed project <iOS/testbed>` "
492
- "that is used to run the CPython test suite on the iOS simulator. This "
493
- "testbed can also be used as a testbed project for running your Python "
400
+ "The CPython source tree contains :source:`a testbed project <Apple/ iOS/"
401
+ "testbed>` that is used to run the CPython test suite on the iOS simulator. "
402
+ "This testbed can also be used as a testbed project for running your Python "
494
403
"library's test suite on iOS."
495
404
msgstr ""
496
405
497
406
msgid ""
498
- "After building or obtaining an iOS XCFramework (See :source:`iOS/README.rst` "
499
- "for details), create a clone of the Python iOS testbed project by running:"
407
+ "After building or obtaining an iOS XCFramework (see :source:`Apple/iOS/"
408
+ "README.md` for details), create a clone of the Python iOS testbed project. "
409
+ "If you used the ``Apple`` build script to build the XCframework, you can run:"
410
+ msgstr ""
411
+
412
+ msgid ""
413
+ "$ python cross-build/iOS/testbed clone --app <path/to/module1> --app <path/"
414
+ "to/module2> app-testbed"
415
+ msgstr ""
416
+
417
+ msgid "Or, if you've sourced your own XCframework, by running:"
500
418
msgstr ""
501
419
502
420
msgid ""
503
- "$ python iOS /testbed clone --framework <path/to/Python.xcframework> --app "
504
- "<path/to/module1> --app <path/to/module2> app-testbed"
421
+ "$ python Apple /testbed clone --platform iOS -- framework <path/to/Python."
422
+ "xcframework> --app <path/to/module1> --app <path/to/module2> app-testbed"
505
423
msgstr ""
506
424
507
425
msgid ""
508
- "You will need to modify the ``iOS/testbed`` reference to point to that "
509
- "directory in the CPython source tree; any folders specified with the ``--"
510
- "app`` flag will be copied into the cloned testbed project. The resulting "
511
- "testbed will be created in the ``app-testbed`` folder. In this example, the "
512
- "``module1`` and ``module2`` would be importable modules at runtime. If your "
513
- "project has additional dependencies, they can be installed into the ``app-"
514
- "testbed/iOSTestbed/app_packages`` folder (using ``pip install --target app-"
515
- "testbed/iOSTestbed/app_packages`` or similar)."
426
+ "Any folders specified with the ``--app`` flag will be copied into the cloned "
427
+ "testbed project. The resulting testbed will be created in the ``app-"
428
+ "testbed`` folder. In this example, the ``module1`` and ``module2`` would be "
429
+ "importable modules at runtime. If your project has additional dependencies, "
430
+ "they can be installed into the ``app-testbed/Testbed/app_packages`` folder "
431
+ "(using ``pip install --target app-testbed/Testbed/app_packages`` or similar)."
516
432
msgstr ""
517
433
518
434
msgid ""
@@ -549,8 +465,8 @@ msgstr ""
549
465
550
466
msgid ""
551
467
"The test plan also disables parallel testing, and specifies the use of the "
552
- "``iOSTestbed .lldbinit`` file for providing configuration of the debugger. "
553
- "The default debugger configuration disables automatic breakpoints on the "
468
+ "``Testbed .lldbinit`` file for providing configuration of the debugger. The "
469
+ "default debugger configuration disables automatic breakpoints on the "
554
470
"``SIGINT``, ``SIGUSR1``, ``SIGUSR2``, and ``SIGXFSZ`` signals."
555
471
msgstr ""
556
472
0 commit comments