HSLG Media

package_refactored_presenter.py

package_refactored_presenter.py

Source file: tools/packaging/package_refactored_presenter.py

Module: tools-packaging

Size: 67 lines

SHA-256: 24a990b7cd8ef22fb44080bb3c3342457531a736f7087431723369d04eeee521

Responsibility

Packages independent WordPress presenter and API plugins.

Declared entry points

  • collect — source line 25.
  • main — source line 38.

Imports and dependencies

  • Line 12: import hashlib
  • Line 13: import os
  • Line 14: import subprocess
  • Line 15: import sys
  • Line 16: import zipfile

Behaviour and audit locations

  • Line 8: Never copy the WordPress shell (or this generated ZIP) into Capacitor.

Relationship to the system

This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.

Change verification

Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.