-
Notifications
You must be signed in to change notification settings - Fork 5
/
buildVars.py
48 lines (40 loc) · 2.11 KB
/
buildVars.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- 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 = {
# for previously unpublished addons, please follow the community guidelines at:
# https://bitbucket.org/nvdaaddonteam/todo/src/56140dbec531e4d7591338e1dbc6192f3dd422a8/guideLines.txt
# add-on Name, internal for nvda
"addon_name" : "Unspoken",
# 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" : _("Unspoken 3D Audio"),
# Add-on description
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description" : _("""Adds 3D audio for controls and replaces control messages. This updated version uses Synthizer and is compatible with NVDA 2024.1."""),
# version
"addon_version" : "0.9.9",
# Author(s)
"addon_author" : "Camlorn <camlorn38@gmail.com>, Bryan Smart< Bryansmart@bryansmart.com>, Masonasons <mason@masonasons.me>",
# URL for the add-on documentation support
"addon_url" : "https://github.com/brynify/unspoken",
# Documentation file name
"addon_docFileName" : "readme.html",
"addon_minimum_nvda_version" : "2021.1",
"addon_last_tested_nvda_version" : "2024.1",
}
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 = []
#If you translate this, change this to not include wav files in the list of translated files.
for dirpath, dirnames, filenames in os.walk(os.path.join("addon", "globalPlugins")):
pythonSources.extend([os.path.join(dirpath, fi) for fi in filenames if fi.endswith(".py") or fi.endswith(".wav")])
# Files that contain strings for translation. Usually your python sources
i18nSources = pythonSources + ["buildVars.py", "docHandler.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 = []