Files
cpu-affinity-nvda-addon/buildVars.py
2025-10-12 13:48:41 +02:00

49 lines
2.0 KiB
Python

# -*- coding: UTF-8 -*-
# Build customizations
# Change this file instead of sconstruct or manifest files, whenever possible.
# Full getext (please don't change)
_ = lambda x: x
# Add-on information variables
addon_info = {
# add-on Name, internal for nvda
"addon_name": "cpuPriority",
# Add-on summary, usually the user visible name of the addon.
# Translators: Summary for this add-on to be shown on installation and add-on information.
"addon_summary": _("CPU Priority Manager"),
# Add-on description
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("Manages CPU affinity and process priority for NVDA. Allows pinning NVDA to specific CPU cores (e.g., performance cores) and setting process priority to improve responsiveness."),
# version
"addon_version": "1.0.0",
# Author(s)
"addon_author": "Talon <talon@iamtalon.me>",
# URL for the add-on documentation support
"addon_url": "https://code.iamtalon.me/Talon/cpu-affinity-nvda-addon",
# Documentation file name
"addon_docFileName": "readme.html",
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
"addon_minimumNVDAVersion": "2024.1.0",
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
"addon_lastTestedNVDAVersion": "2025.3.0",
# Add-on update channel (default is None, denoting stable releases, and for development releases, use "dev"; do not change unless you know what you are doing)
"addon_updateChannel": None,
}
import os.path
# Define the python files that are the sources of your add-on.
# You can use glob expressions here, they will be expanded.
pythonSources = [
os.path.join("addon", "globalPlugins", "cpuPriority", "*.py"),
]
# Files that contain strings for translation. Usually your python sources
i18nSources = pythonSources + ["buildVars.py"]
# Files that will be ignored when building the nvda-addon file
# Paths are relative to the addon directory, not to the root directory of your addon sources.
excludedFiles = []