MCPcopy Index your code
hub / github.com/python/cpython / pkg_recipes

Function pkg_recipes

Mac/BuildScript/build-installer.py:417–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415
416# Instructions for building packages inside the .mpkg.
417def pkg_recipes():
418 unselected_for_python3 = ('selected', 'unselected')[PYTHON_3]
419 result = [
420 dict(
421 name="PythonFramework",
422 long_name="Python Framework",
423 source="/Library/Frameworks/Python.framework",
424 readme="""\
425 This package installs Python.framework, that is the python
426 interpreter and the standard library.
427 """,
428 postflight="scripts/postflight.framework",
429 selected='selected',
430 ),
431 dict(
432 name="PythonApplications",
433 long_name="GUI Applications",
434 source="/Applications/Python %(VER)s",
435 readme="""\
436 This package installs IDLE (an interactive Python IDE),
437 Python Launcher and Build Applet (create application bundles
438 from python scripts).
439
440 It also installs a number of examples and demos.
441 """,
442 required=False,
443 selected='selected',
444 ),
445 dict(
446 name="PythonUnixTools",
447 long_name="UNIX command-line tools",
448 source="/usr/local/bin",
449 readme="""\
450 This package installs the unix tools in /usr/local/bin for
451 compatibility with older releases of Python. This package
452 is not necessary to use Python.
453 """,
454 required=False,
455 selected='selected',
456 ),
457 dict(
458 name="PythonDocumentation",
459 long_name="Python Documentation",
460 topdir="/Library/Frameworks/Python.framework/Versions/%(VER)s/Resources/English.lproj/Documentation",
461 source="/pydocs",
462 readme="""\
463 This package installs the python documentation at a location
464 that is usable for pydoc and IDLE.
465 """,
466 postflight="scripts/postflight.documentation",
467 required=False,
468 selected='selected',
469 ),
470 dict(
471 name="PythonProfileChanges",
472 long_name="Shell profile updater",
473 readme="""\
474 This packages updates your shell profile to make sure that

Callers 2

makeMpkgPlistFunction · 0.85
buildInstallerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…