code: def pkg_recipes():
      unselected_for_python3 = ("selected", "unselected")[PYTHON_3]
      result = [
          dict(
              name="PythonFramework",
              long_name="Python Framework",
              source="/Library/Frameworks/Python.framework",
              readme="""\
                  This package installs Python.framework, that is the python
                  interpreter and the standard library.
              """,
              postflight="scripts/postflight.framework",
              selected="selected",
          ),
          dict(
              name="PythonApplications",
              long_name="GUI Applications",
              source="/Applications/Python %(VER)s",
              readme="""\
                  This package installs IDLE (an interactive Python IDE),
                  Python Launcher and Build Applet (create application bundles
                  from python scripts).
  
                  It also installs a number of examples and demos.
                  """,
              required=False,
              selected="selected",
          ),
          dict(
              name="PythonUnixTools",
              long_name="UNIX command-line tools",
              source="/usr/local/bin",
              readme="""\
                  This package installs the unix tools in /usr/local/bin for
                  compatibility with older releases of Python. This package
                  is not necessary to use Python.
                  """,
              required=False,
              selected="selected",
          ),
          dict(
              name="PythonDocumentation",
              long_name="Python Documentation",
              topdir="/Library/Frameworks/Python.framework/Versions/%(VER)s/Resources/English.lproj/Documentation",
              source="/pydocs",
              readme="""\
                  This package installs the python documentation at a location
                  that is usable for pydoc and IDLE.
                  """,
              postflight="scripts/postflight.documentation",
              required=False,
              selected="selected",
          ),
          dict(
              name="PythonProfileChanges",
              long_name="Shell profile updater",
              readme="""\
                  This packages updates your shell profile to make sure that
                  the Python tools are found by your shell in preference of
                  the system provided Python tools.
  
                  If you don't install this package you'll have to add
                  "/Library/Frameworks/Python.framework/Versions/%(VER)s/bin"
                  to your PATH by hand.
                  """,
              postflight="scripts/postflight.patch-profile",
              topdir="/Library/Frameworks/Python.framework",
              source="/empty-dir",
              required=False,
              selected="selected",
          ),
          dict(
              name="PythonInstallPip",
              long_name="Install or upgrade pip",
              readme="""\
                  This package installs (or upgrades from an earlier version)
                  pip, a tool for installing and managing Python packages.
                  """,
              postflight="scripts/postflight.ensurepip",
              topdir="/Library/Frameworks/Python.framework",
              source="/empty-dir",
              required=False,
              selected="selected",
          ),
      ]
  
      return result
  
imports: import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp
label_desc: Use image node_id 14 for calling a global function with example usage: pkg_recipes() and returns: result