Skip to main content

Public bootstrap installer for the protected ManifestGuard release payload

Project description

manifestguard

Public bootstrap package for the protected ManifestGuard payload.

Purpose:

  • dev branch: source of truth for the public bootstrap installer.
  • main branch: reviewed source ready for public release.
  • release branch: protected payload artifacts only (PyArmor-built wheel + metadata).

The public PyPI package does not ship the protected ManifestGuard code. Instead, it provides a CLI that can fetch the latest protected wheel from this repository's release branch and install it into the current virtual environment or user site.

Versioning rule:

  • The public bootstrap package should normally use the same version as the protected ManifestGuard payload it installs.
  • If the bootstrap wrapper needs a packaging-only fix without a payload change, use a post-release such as 1.6.46.post1.

Commands

Create a local editable install of the bootstrap package:

python -m pip install -e .

Show the protected payload manifest configured for download:

manifestguard show-manifest

Show the manifest for a specific protected version:

manifestguard show-manifest --payload-version 1.6.46

Check whether the selected payload is newer than the currently installed manifestguard version:

manifestguard check-update
manifestguard check-update --payload-version 1.6.46

If only the public bootstrap wrapper is installed, check-update reports bootstrap-only until the protected payload has actually been installed.

Install the protected payload into the active virtual environment if present, otherwise user-wide:

manifestguard install-protected

Important for the currently shipped protected payload:

  • Use Python 3.12 for the protected install path (cp312 wheel).
  • On Windows prefer explicit interpreter calls for protected steps:
py -3.12 -m manifestguard_bootstrap.cli install-protected --user
py -3.12 -m manifestguard --version

Force a specific target mode:

manifestguard install-protected --venv
manifestguard install-protected --user
manifestguard install-protected --payload-version 1.6.46

Release Branch Layout

The release branch is expected to contain:

manifestguard/
  latest/
    manifest.json
    manifestguard-<version>-<python-tag>-<abi-tag>-<platform>.whl
    release.json
    SHA256SUMS.txt
  <version>/
    manifest.json
    manifestguard-<version>-<python-tag>-<abi-tag>-<platform>.whl
    release.json
    SHA256SUMS.txt

manifestguard/latest/manifest.json is the default bootstrap entrypoint. Version-specific commands such as --payload-version 1.6.46 resolve to manifestguard/1.6.46/manifest.json. Each manifest.json must include the wheel URL and SHA256 hash.

Helper Script

Use tools/publish_release_payload.ps1 while checked out to the release branch to copy a protected packet from the releaser output into the branch layout and generate both the latest and version-specific manifests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manifestguard-1.6.46.post4.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manifestguard-1.6.46.post4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file manifestguard-1.6.46.post4.tar.gz.

File metadata

  • Download URL: manifestguard-1.6.46.post4.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for manifestguard-1.6.46.post4.tar.gz
Algorithm Hash digest
SHA256 340e8a6b6b3ea9a1fb844dacd132edf1bce17bee6b7862d0a2d145e913e5863f
MD5 50653d5e05596175c6c128f39b348a8e
BLAKE2b-256 05b8a86e60356399e9cf073d6fb01b4b76ca3661cbea0de9c4ad4c1de31bd62f

See more details on using hashes here.

File details

Details for the file manifestguard-1.6.46.post4-py3-none-any.whl.

File metadata

File hashes

Hashes for manifestguard-1.6.46.post4-py3-none-any.whl
Algorithm Hash digest
SHA256 82516a2135f2c752020e5191b4a911754851cbbcdbe375a5655a647d7e140701
MD5 dbe0409773a059aedebb4f22108932a1
BLAKE2b-256 49a5b446edae2955c2f80095c5dea6701ac5b84999635ff0f9a9b9a1ab874278

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page