text: import shipyard2.rules.pythons
  
  shipyard2.rules.pythons.define_package(
      deps=[],
      extras=[
          (
              'consoles',
              [
                  '//py/g1/apps:build/asyncs',
                  '//py/g1/asyncs/agents:build/parts',
                  '//py/g1/asyncs/bases:build',
                  '//py/g1/bases:build',
                  '//py/g1/networks/servers:build',
                  '//py/g1/threads:build',
              ],
          ),
          (
              'executors',
              [
                  '//py/g1/threads:build/parts',
              ],
          ),
          (
              'monitors',
              [
                  '//py/g1/apps:build',
                  '//py/g1/asyncs/bases:build',
                  '//py/g1/asyncs/kernels:build',
                  '//py/g1/bases:build',
                  # Self-reference.
                  '//py/g1/backgrounds:build/executors',
                  '//py/g1/backgrounds:build/tasks',
              ],
          ),
          (
              'tasks',
              [
                  '//py/g1/asyncs/agents:build/parts',
                  '//py/g1/asyncs/bases:build',
                  '//py/g1/bases:build',
                  '//py/startup:build',
              ],
          ),
      ],
  )
  