--- id: pyinstaller-versionfile version: "3.1.0" license: MIT license_treatment: permissive maintenance: active --- # pyinstaller-versionfile — Create a windows version-file from metadata stored in a simple self-written YAML file or obtained from an installed distribution. License: permissive · Maintenance: active · Downloads: 181.5K/mo ## What it is and what it does pyinstaller-versionfile automates the creation of Windows VERSIONINFO resource files—metadata blocks embedded in .exe files that display version, company, copyright, and product information in file properties. It bridges the gap between Python package metadata and PyInstaller's version-file format, eliminating manual crafting and version-number synchronization. The package offers both a command-line interface (pyivf-make_version) and a functional Python API. You can source metadata from a YAML configuration file, extract it from an installed Python distribution, or specify values directly in code. It handles version strings flexibly—from hardcoded values to external files to CI build numbers—making it practical for automated build pipelines. Use it for: - Embed version metadata in PyInstaller-bundled Windows applications without manual VERSIONINFO file editing. - Automate version-file generation in CI/CD pipelines by reading version from distribution metadata or environment. - Maintain synchronized version numbers across Python package and Windows executable properties. - Generate VERSIONINFO resources from YAML configuration for reproducible, version-controlled builds. - Extract and repackage metadata from installed editable distributions into Windows version resources. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates Windows VERSIONINFO resource files for PyInstaller from YAML metadata or installed Python package distributions, automating version-file creation for bundled applications. Yes. If you bundle Python applications for Windows with PyInstaller and need version metadata in the executable, this package eliminates tedious manual VERSIONINFO file creation. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a straightforward addition to Windows build workflows. ## Install pip install pyinstaller-versionfile uv add pyinstaller-versionfile poetry add pyinstaller-versionfile ## Installing pyinstaller-versionfile Before you install: Low friction: pure Python wheel with only three lightweight runtime dependencies (Jinja2, PyYAML, packaging). Actively maintained with recent commits and no known vulnerabilities. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and open-source projects alike. Quickstart: pip install pyinstaller-versionfile import pyinstaller_versionfile pyinstaller_versionfile.create_versionfile( output_file="versionfile.txt", version="1.2.3.4", company_name="My Company", product_name="My App" ) Windows-only: the generated VERSIONINFO resource is specific to Windows executables; PyInstaller must be available to use the output file. Verify before relying: - Whether the package handles all Windows language and character-set codes correctly in practice. - Performance characteristics when extracting metadata from large or complex distributions. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 181.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags windows version file generator, pyinstaller versioninfo resource, windows exe metadata, yaml version file creation, pyinstaller version resource, windows versioninfo automation, exe version info builder, windows-packaging, pyinstaller-integration, build-automation [View on SkillFed](https://skillfed.io/packages/pyinstaller-versionfile) · [View on PyPI](https://pypi.org/project/pyinstaller-versionfile/)