Portable Python Manager
A self-contained PowerShell 7.x manager for downloading, verifying, installing, configuring, updating, switching, backing up, and uninstalling Portable Mode installations of Python on Windows (x64, arm64, & x86) — without Administrator privileges.
Key Capabilities
- Live Version Selector: Fetches official PSF standalone ZIP releases from
https://www.python.org/ftp/python/index-windows.json, lists Latest Stable, recent minor lines, and prereleases, supports patch browsing (b <minor>), free-threaded (3.XXt) builds, and exact versions, and defaults to Latest Stable on Enter. - SHA-256 Verified Archives: Validates every official
PythonCoreZIP against thehash.sha256embedded inindex-windows.jsonbefore extracting. - True Zero-Leak Portability: Stores
pip.ini, pip download cache, user-site packages, portable virtual environments, and REPL history inside<InstallDir>\data\and writes an auto-managedLib\site-packages\sitecustomize.pyfallback. - Non-Admin PEP 514 Integration: Registers
HKCU\Software\Python\PythonCore\<Tag>(PEP 514),App Paths, UserPATH, portable User env vars, and optional"Open Python Prompt Here"Explorer context menus strictly underHKCU. - Side-by-Side Versions & Switching: Install multiple Python versions side by side and switch the active one in a single step.
Where to Start
- New users: Getting Started
- Customizing defaults: Configuration (
config.ini&python.ini) - Opt-in presets: Optional Profiles & Package Packs
- Automation & flags: CLI Reference
- Contributors: Architecture
Getting Started
Prerequisites
- Windows 10 or Windows 11 (
x64,arm64, orx86) - PowerShell 7.x (
pwsh.exe) inPATHwinget install Microsoft.PowerShell
Note: Administrator privileges are never required. All registry keys,
PATHentries, and environment variables are scoped strictly to the current user (HKCU/User).
First Installation (Interactive)
- Extract the release
.zip(or clone the repository) to a folder of your choice. - Run
main.batand select1. Download & Install Portable Python. - The manager queries
https://www.python.org/ftp/python/index-windows.jsonand displays available officialPythonCorereleases with Latest Stable listed as Option 1 ([DEFAULT]):- Press Enter to install Latest Stable.
- Enter a menu number (
1-10) to install a specific minor line. - Type
b 3.14(orb 3.14t) to browse individual patch releases in that minor line. - Type an exact version or spec (e.g.,
3.13.17,freethreaded,prerelease).
- Confirm or customize the target folder (e.g.,
D:\CLI\Python). - The manager downloads the official ZIP, verifies its SHA-256 hash, extracts it, initializes
<InstallDir>\data\, bootstrapspipoffline viaensurepip, and configures UserPATH, portable env vars, and PEP 514HKCUregistry keys. - Open a new terminal window and verify:
python --version pip --version
Portable Directory Layout
All mutable user state stays inside <InstallDir>\data\ and is preserved across in-place updates:
<InstallDir>\
├── python.exe / pythonw.exe
├── Scripts\ (pip.exe & installed CLI scripts)
├── Lib\site-packages\
│ └── sitecustomize.py (auto-managed zero-leak portability fallback)
├── python-portable.json (manager metadata)
└── data\ (preserved across all in-place updates)
├── pip.ini (PIP_CONFIG_FILE)
├── pip-cache\ (PIP_CACHE_DIR)
├── user-site\ (PYTHONUSERBASE)
├── venvs\ (WORKON_HOME)
└── python_history (PYTHON_HISTORY)
Side-by-Side Installations
Use {minor} in config.ini (or pass -TargetDir) to keep multiple Python versions installed simultaneously:
pwsh -File src\install.ps1 -Version 3.14 -TargetDir "D:\CLI\Python-3.14"
pwsh -File src\install.ps1 -Version 3.13 -TargetDir "D:\CLI\Python-3.13"
# Switch active version (updates User PATH, portable env vars, and PEP 514 registry)
pwsh -File src\configure.ps1 -Mode SwitchActive -TargetDir "D:\CLI\Python-3.13"
Configuration (config.ini & python.ini)
Configuration is split into two files at the repository root:
config.ini— Manager behavior, default install path template, release selection, automation toggles, profile pointers, and log retention.python.ini— Personal Python & pip preferences ([PipConfig],[Packages],[Venvs], and[Env]), which always override any optional profile inprofiles\.
config.ini Reference
Leave any [General] toggle blank to be prompted interactively at runtime. Command-line flags always take precedence over config.ini.
[General]
| Key | Values | Description |
|---|---|---|
DefaultInstallDir | Path template or blank | Supports {program_name}, {channel}, {major}, {minor}, {version}, {arch}. Example: D:\CLI\{program_name}-{minor}. |
DefaultChannel | stable, prerelease, freethreaded, <major.minor>, or blank | Leave blank to display the live interactive version picker (Enter = Latest Stable). |
DefaultVersion | Exact version (e.g. 3.14.10) or blank | Pins a specific release when set. |
DefaultArch | x64, arm64, x86 | Target Windows CPU architecture (default: x64). |
VerifyChecksum | true / false | Validates downloaded ZIP SHA-256 against index-windows.json hash.sha256 (default: true). |
AutoBootstrapPip | true / false / blank | Runs bundled python -m ensurepip --default-pip if pip is missing. |
AutoAddPath | true / false / blank | Adds <InstallDir> and <InstallDir>\Scripts to User PATH. |
AutoAddRegistry | true / false / blank | Registers PEP 514 HKCU\Software\Python\PythonCore\<Tag> and App Paths. |
AutoSetPortableEnv | true / false / blank | Sets PIP_CONFIG_FILE, PIP_CACHE_DIR, PYTHONUSERBASE, PYTHON_HISTORY, and WORKON_HOME. |
AutoAddContextMenu | true / false / blank | Registers "Open Python Prompt Here" Explorer right-click menus under HKCU. |
AutoConfigurePip | true / false / blank | Applies resolved [PipConfig] settings to <InstallDir>\data\pip.ini. |
OverwriteExistingPipIni | true / false | false merges non-destructively (keeps existing user keys); true enforces INI keys. |
AutoInstallPackages | true / false / blank | Installs [Packages] from loaded INI profiles. |
AutoCreateVenvs | true / false / blank | Creates named portable virtual environments from [Venvs] under data\venvs\. |
[Profiles] & [Logging]
| Key | Description |
|---|---|
OptionalProfiles | Comma-separated profile names from profiles\ (or relative/absolute .ini paths). Leave blank to load none. |
PythonConfigFile | Personal INI file (default: python.ini). Overrides any optional profiles. |
LogRetentionDays | Days to keep daily log files under logs\ before automatic pruning (default: 30). |
LogFilePrefix | Custom prefix for logs\<prefix>-YYYY-MM-DD.log (blank uses the project folder name). |
python.ini Reference
Supported path expansion tokens inside [PipConfig] and [Env] values:
{install_dir}— Portable Python root directory{scripts_dir}—<InstallDir>\Scripts{data_dir}—<InstallDir>\data{pip_cache}—<InstallDir>\data\pip-cache{user_site}—<InstallDir>\data\user-site{venvs_dir}—<InstallDir>\data\venvs
Example python.ini:
[Profile]
Name = Personal Python Configuration
Description = Personal pip.ini settings, packages, portable venvs, and env overrides.
[PipConfig]
disable-pip-version-check = true
prefer-binary = true
[Packages]
uv
ruff
pytest
[Venvs]
create = dev, tools
upgrade_pip = true
[Env]
PYTHONUTF8 = 1
Optional Profiles & Package Packs (profiles\*.ini)
All files under profiles\ are strictly opt-in. They are loaded only when:
- Listed in
OptionalProfilesinsideconfig.ini(e.g.OptionalProfiles = portable-essentials, privacy, pkg-core), - Passed on the CLI via
-Preset(e.g.-Preset "strict-security,pkg-core"), or - Selected interactively in
configure.ps1(Option 2).
When multiple profiles are combined, they merge in listed order, and your personal python.ini always has final precedence.
Built-In Settings Profiles
| Profile | Purpose | Key Settings |
|---|---|---|
portable-essentials | Enforces portable defaults & UTF-8 | cache-dir = {pip_cache}, disable-pip-version-check = true, PYTHONUTF8 = 1 |
privacy | Reduces update pings & telemetry | disable-pip-version-check = true, PIP_DISABLE_PIP_VERSION_CHECK = 1, DO_NOT_TRACK = 1, JUPYTER_NO_TELEMETRY = 1, SCARF_NO_ANALYTICS = true |
strict-security | Hardens Python & pip behavior | prefer-binary = true, timeout = 15, retries = 3, PYTHONSAFEPATH = 1, PYTHONUTF8 = 1 |
fast-dev | Faster installs & cleaner worktrees | prefer-binary = true, timeout = 20, retries = 2, PYTHONUTF8 = 1, PYTHONDONTWRITEBYTECODE = 1 |
Built-In Package Packs
| Profile | Included Packages ([Packages]) |
|---|---|
pkg-core | uv, ruff, pytest, ipython, pip-audit |
pkg-web | fastapi, uvicorn, httpx, pydantic |
pkg-data | numpy, pandas, rich, jupyterlab |
Examples
# Fresh install with security profile + core developer packages
pwsh -File src\install.ps1 -Channel stable -Preset "strict-security,pkg-core"
# Apply a profile on-demand to an existing portable installation
pwsh -File src\configure.ps1 -Mode Settings -Preset "fast-dev" -Overwrite
pwsh -File src\configure.ps1 -Mode InstallPackages -Preset "pkg-web"
CLI Reference
All entrypoints require PowerShell 7.x (pwsh.exe) and can be invoked directly or via main.bat.
src\install.ps1
Downloads, verifies, extracts, bootstraps pip, and preconfigures a Portable Python installation.
| Parameter | Type | Description |
|---|---|---|
-TargetDir | string | Destination folder (overrides config.ini DefaultInstallDir). |
-Channel | string | stable, prerelease, freethreaded, or <major.minor> (e.g. 3.14, 3.14t). |
-Version | string | Exact version (e.g. 3.14.10, 3.13.17, 3.15.0rc3). |
-Arch | string | x64, arm64, or x86 (default: x64). |
-FreeThreaded | switch | Selects free-threaded (3.XXt) builds. |
-Preset | string | Comma-separated profile names from profiles\ (overrides OptionalProfiles). |
-SkipVerify | switch | Skips SHA-256 verification (not recommended). |
-SkipPipBootstrap | switch | Skips offline ensurepip bootstrap. |
-SkipPath | switch | Skips User PATH updates. |
-SkipRegistry | switch | Skips PEP 514 HKCU registry and App Paths registration. |
-SkipPortableEnv | switch | Skips portable User env vars. |
-SkipContextMenu | switch | Skips "Open Python Prompt Here" Explorer menus. |
-SkipSettings | switch | Skips applying [PipConfig] settings. |
-SkipPackages | switch | Skips installing [Packages]. |
-SkipVenvs | switch | Skips creating [Venvs]. |
-OverwriteSettings | switch | Overwrites conflicting keys in data\pip.ini. |
-Force | switch | Proceeds without overwriting prompts. |
src\update.ps1
Updates an existing Portable Python installation in-place while preserving <InstallDir>\data\.
| Parameter | Type | Description |
|---|---|---|
-TargetDir | string | Existing portable Python folder (omit to auto-discover). |
-Channel | string | Target channel (stable, prerelease, freethreaded). |
-Version | string | Explicit target version or minor line (e.g. 3.14 or 3.14.10). |
-SkipVerify | switch | Skips SHA-256 verification. |
-Force | switch | Updates non-interactively (defaults to latest patch in the same minor line). |
src\configure.ps1
Standalone configurator, venv manager, active version switcher, and JSON profile backup/restore tool.
| Parameter | Type | Description |
|---|---|---|
-TargetDir | string | Existing portable Python folder (omit to auto-discover). |
-Mode | string | Interactive (default), Status, Settings, InstallPackages, BootstrapPip, Venvs, AddPath, RemovePath, SwitchActive, AddRegistry, RemoveRegistry, AddContextMenu, RemoveContextMenu, CleanCache, ExportProfile, ImportProfile. |
-Preset | string | Profile name(s) for Settings, InstallPackages, or Venvs. |
-ProfilePath | string | JSON file path for ExportProfile / ImportProfile. |
-Overwrite | switch | Overwrites conflicting keys in data\pip.ini. |
src\uninstall.ps1
Auto-discovers portable Python installations (including stale PATH/registry references) and removes integration or deletes the entire folder.
| Parameter | Type | Description |
|---|---|---|
-TargetDir | string | Target folder to clean up or remove (omit to auto-discover). |
-RegistryOnly | switch | Removes PEP 514 registry, App Paths, context menus, User PATH, and portable env vars only (keeps files). |
-Force | switch | Skips interactive confirmation prompts. |
Troubleshooting
pwsh.exe Was Not Found in PATH
Portable Python Manager intentionally requires PowerShell 7.x (#Requires -Version 7.0). Install it via winget:
winget install Microsoft.PowerShell
Then open a new terminal window and re-run main.bat.
python Opens Microsoft Store Instead of Portable Python
Windows includes App Execution Aliases (python.exe / python3.exe) under %LOCALAPPDATA%\Microsoft\WindowsApps that may appear earlier in User PATH:
- Run
pwsh -File src\configure.ps1 -Mode SwitchActiveto prepend your portable Python directory to UserPATH, or - Disable the Store stubs in Windows Settings -> Apps -> Advanced app settings -> App execution aliases (
python.exeandpython3.exe), then open a new terminal.
Changes to PATH or Env Vars Don’t Appear in Current Terminal
Windows processes inherit environment variables at launch. After installing or running -Mode SwitchActive, open a new terminal window so Explorer/terminal picks up the WM_SETTINGCHANGE broadcast.
pip Is Missing After Manual Extraction
Official PSF PythonCore ZIPs bundle ensurepip. Run:
pwsh -File src\configure.ps1 -Mode BootstrapPip
This bootstraps pip offline via python.exe -m ensurepip --default-pip and optionally upgrades it.
Binary Wheels Fail After a Cross-Minor In-Place Update (e.g. 3.14 -> 3.15)
CPython C-extension .pyd wheels and existing virtual environments are tied to a specific major.minor ABI.
- Use
src\update.ps1Option 1 (same minor line, e.g.3.14.9->3.14.10) for seamless in-place updates. - When moving to a new minor line (
3.14->3.15), prefer a side-by-side folder (e.g.D:\CLI\Python-3.15), export your package list viaconfigure.ps1 -Mode ExportProfile, and import it into the new installation.
Checking Verbose Logs
Every run appends timestamped DEBUG/TRACE diagnostics and exception stack traces to:
logs\<prefix>-YYYY-MM-DD.log
You can open the folder directly from main.bat Option 7. Open Logs Folder.
Architecture Overview
Portable Python Manager uses a strict 4-layer PowerShell 7.x architecture designed for zero external module dependencies, high performance via direct .NET APIs, and complete portability without Administrator elevation.
Directory & Layer Map
{ROOT}\
├── main.bat Interactive launcher (invokes pwsh.exe)
├── config.ini Manager settings & INI profile pointers
├── python.ini Personal [PipConfig], [Packages], [Venvs], [Env]
├── README.txt Standalone runtime doc (packaged in release ZIPs)
├── profiles\ Opt-in active INI profiles (discovered dynamically)
├── logs\ Auto-created daily verbose logs (30-day retention)
└── src\
├── install.ps1 [Layer 4] CLI entrypoint: fresh install
├── update.ps1 [Layer 4] CLI entrypoint: in-place binary update
├── configure.ps1 [Layer 4] CLI entrypoint: configurator & switcher
├── uninstall.ps1 [Layer 4] CLI entrypoint: removal & cleanup
├── core\ [Layer 3] Domain logic & orchestration
│ ├── config.ps1 INI parser, profile/python.ini loader & defaults
│ ├── release.ps1 python.org index-windows.json, version picker & inspector
│ ├── discovery.ps1 Multi-source portable install auto-discovery
│ ├── settings.ps1 Portable data\ layout, sitecustomize.py, pip.ini & wizard
│ └── packages.ps1 ensurepip bootstrap, scoped pip packages, venvs & cache
├── utility\ [Layer 2] Low-level OS & I/O primitives
│ ├── filesystem.ps1 HttpClient download, SHA-256, ZipFile extract, fast delete
│ ├── path.ps1 User PATH & portable env var manager + broadcast
│ └── registry.ps1 .NET Microsoft.Win32.Registry PEP 514 manager
└── event\ [Layer 1] Cross-cutting telemetry & UI
├── logger.ps1 Verbose daily file logger & retention pruner
└── progress.ps1 Throttled inline wget-style progress bar
Dependency Flow
flowchart TD
BAT["main.bat"] --> EP["Entrypoints: install / update / configure / uninstall"]
EP --> CORE["src/core: config, release, discovery, settings, packages"]
CORE --> UTIL["src/utility: filesystem, path, registry"]
CORE --> EVT["src/event: logger, progress"]
UTIL --> EVT
EVT --> PROG["progress.ps1"]
- Strict Acyclic Layering: Entrypoints dot-source all layers cleanly; library modules guard dot-sourcing via
Get-Commandchecks so re-sourcing is idempotent. - Root Resolution Depth: Because
src\core\config.ps1andsrc\event\logger.ps1reside two levels below{ROOT}, fallback$ScriptRootcomputation always traverses two parent directories.
Key Architectural Decisions
1. Zero-Leak Portable Layout (data\ + sitecustomize.py)
Every installation creates data\pip-cache\, data\user-site\, data\venvs\, data\pip.ini, and writes an auto-managed Lib\site-packages\sitecustomize.py using os.environ.setdefault(...) pointing inside data\. Even if a user runs python.exe -m pip without User environment variables set, pip and REPL history stay strictly contained inside <InstallDir>\data\. Existing user-authored sitecustomize.py files are detected and never overwritten.
2. Pure .NET [Microsoft.Win32.Registry] with PEP 514
All registry operations use [Microsoft.Win32.Registry]::CurrentUser directly (CreateSubKey, OpenSubKey, SetValue, DeleteSubKeyTree, DeleteValue), registering official PEP 514 keys under HKCU\Software\Python\PythonCore\<Tag> alongside App Paths — requiring zero Administrator elevation and making portable copies discoverable by IDEs and py.
3. Exact Directory-Boundary Safety
All path-scoped operations prevent sibling prefix collisions (e.g. D:\CLI\Python vs D:\CLI\Python-3.14) using trailing separator checks ($Dir + "\") and regex boundary anchors.
Module & Function API Reference
Layer 1 — src\event\
src\event\progress.ps1
Test-ConsoleInteractive— Returns$truewhen stdout is an interactive console.Clear-ProgressLine— Erases any active inline progress bar before printing a log line.Show-WgetProgress -Task <string> -Percent <int> [-Stats <string>] [-ThrottleMs 75] [-Complete]— Renders a throttled inline progress bar with elapsed time.
src\event\logger.ps1
Resolve-ProjectRoot [-ScriptRoot <string>]— Resolves{ROOT}two directories abovesrc\event\.Initialize-Logger [-ScriptRoot] [-Component] [-RetentionDays 30] [-LogPrefix] [-Context]— Opens the daily log file, writes session metadata, and prunes expired logs.Write-Log -Message <string> [-Level INFO|WARN|ERROR|SUCCESS|DEBUG|TRACE]— Writes timestamped lines to the log file and prints non-debug levels to stdout.Write-ExceptionLog -ErrorRecord <ErrorRecord> [-Context <string>]— Logs message, exception type, inner exception, position, and stack trace.Close-Logger [-Status <string>]— Appends session end footer with total duration.
Layer 2 — src\utility\
src\utility\filesystem.ps1
Invoke-FileDownloadWithProgress -Uri <string> -OutFile <string> [-TaskLabel] [-TimeoutMinutes 15]— Streams downloads via.NET HttpClientto a.parttemp file before atomic rename.Get-FileSha256 -FilePath <string>/Test-FileSha256 -FilePath <string> -ExpectedHash <string>— Computes and compares SHA-256 hashes.Expand-ZipWithProgress -ZipPath <string> -DestinationPath <string> [-PreserveData] [-StripSingleTopDir] [-OnlyUnderPrefix]— Extracts.ziparchives via.NET ZipFilewith Zip Slip boundary guards and optionaldata\/python-portable.jsonpreservation.Remove-FolderWithProgress -FolderPath <string>— Deepest-first.NETfolder removal with progress.Stop-PythonProcessesInDir -InstallDir <string>— Terminates processes whose executable path starts with$InstallDir\.
src\utility\path.ps1
Send-EnvironmentChangeBroadcast— BroadcastsWM_SETTINGCHANGE("Environment").Test-UserPathDirectory/Add-UserPathDirectory/Remove-UserPathEntry— Boundary-safe UserPATHmanagement.Test-PythonPathEntries/Add-PythonPathEntries— Manages<InstallDir>and<InstallDir>\Scriptsin UserPATH.Set-UserEnvVar/Set-PortablePythonEnvVars/Get-PortablePythonEnvStatus/Remove-PortablePythonEnvVarsForDir— ManagesPIP_CONFIG_FILE,PIP_CACHE_DIR,PYTHONUSERBASE,PYTHON_HISTORY, andWORKON_HOME.
src\utility\registry.ps1
Test-RegistryValueMatchesDir -Value <string> -InstallDir <string>— Exact directory-boundary regex check.Get-PythonPep514Tag -Version <string> [-Arch x64] [-FreeThreaded]— Formats PEP 514 registry tags (3.15,3.15t,3.15-arm64,3.15-32).Add-PythonRegistry/Test-PythonRegistry— Manages PEP 514HKCU\Software\Python\PythonCore\<Tag>andApp Paths(python.exe,pythonw.exe,pip.exe).Add-PythonContextMenu/Test-PythonContextMenu/Remove-PythonContextMenu— Manages"Open Python Prompt Here"Explorer context menus underHKCU\Software\Classes.Find-PythonPathsInRegistry/Remove-PythonAllRegistry— Targeted.NETregistry scanner and boundary-safe cleaner.
Layer 3 — src\core\
src\core\config.ps1
Resolve-ConfigBool,Split-ListItems,Resolve-IniFilePathImport-PythonIniFile -Path <string>— Parses[Profile],[PipConfig],[Packages],[Venvs], and[Env].Get-ManagerConfig [-ScriptRoot <string>]— Loadsconfig.ini, explicitOptionalProfiles, and personalPythonConfigFile.Expand-InstallDirTokens/Get-TargetDir— Resolves{program_name},{channel},{major},{minor},{version},{arch}.
src\core\release.ps1
Get-PythonVersionSortKey -VersionStr <string>— Produces semantic sortable version keys across stable and prerelease (a/b/rc) builds.Get-PythonReleaseIndex [-IncludeOlder] [-ForceRefresh]— Querieshttps://www.python.org/ftp/python/index-windows.jsonand followsnextpagination.Get-AvailablePythonMinorReleases/Get-AvailablePythonVersionsForMinorResolve-PythonReleaseSpec/Select-PythonReleaseTest-PythonInstallDir/Test-PortableDataMode/Write-PortablePythonMetadata/Get-InstalledPythonInfo
src\core\discovery.ps1
Find-PythonInstalls [-Config <hashtable>] [-IncludeMissing]— Multi-source portable Python discovery excluding system/Store/Conda installs and venvs (pyvenv.cfg).Format-InstallBadges/Select-DiscoveredInstall
src\core\settings.ps1
Get-PortablePipIniPath/Ensure-PortableDataLayoutExpand-PythonSettingTokens/Read-PipIniSettings/Apply-PipIniSettingsGet-PythonProfilesCatalog/Resolve-ConfiguredPythonSettings/Select-OptionalProfileInteractive/Invoke-InteractivePipWizard
src\core\packages.ps1
Invoke-PortablePythonCommand— Executespython.exewith process environment strictly scoped to<InstallDir>.Ensure-PortablePip— Bootstrapspipoffline viaensurepipand optionally upgradespip.Get-InstalledPipPackages/Install-PipPackagesBatchGet-PortableVenvs/Invoke-VenvSetup/Clear-PortablePipCache
Extending Profiles & Workflows
Adding a New Optional Profile
Drop any .ini file into profiles\ — no PowerShell code changes are required. Get-PythonProfilesCatalog discovers it automatically.
[Profile]
Name = Corporate PyPI
Description = Configures internal PyPI mirror, trusted host, and proxy defaults.
[PipConfig]
index-url = https://pypi.internal.example/simple
trusted-host = pypi.internal.example
prefer-binary = true
[Packages]
uv
ruff
pytest
[Venvs]
create = dev
upgrade_pip = true
[Env]
REQUESTS_CA_BUNDLE = {data_dir}\corp-ca.pem
Adding a New configure.ps1 Mode
- Add the mode name to the
[ValidateSet(...)]attribute on$Modeinsrc\configure.ps1. - Add a corresponding branch in the
switch ($Mode)dispatcher. - Optionally expose it in the interactive menu and document it in
docs\user\cli-reference.mdandREADME.txt.
Release Packaging
Releases are automated by .github/workflows/release.yml when pushing a semantic version tag (v*.*.*) or triggering workflow_dispatch.
Strict Runtime Allowlist
Packaged .zip archives ship only runtime files:
README.txtmain.batconfig.inipython.iniprofiles\**src\**
Repository governance Markdown (*.md), docs\, .github\, logs\, and plan.txt are explicitly excluded and audited by the release workflow before zipping.
Artifacts Produced
portable-python-manager-<tag>.zipportable-python-manager-<tag>.zip.sha256- Auto-generated release notes extracted from
CHANGELOG.md