-
Notifications
You must be signed in to change notification settings - Fork 2
Add submodule for translations #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
f1c7013
0243feb
22346c0
1140813
ca76d71
42301e1
af5a5e8
92a9c09
74cca59
e63084a
0329be1
6c422a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||||||||||||||||||||||||||||||
| name: NVDA l10n | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||||||||||
| push: | ||||||||||||||||||||||||||||||||||
| branches: | ||||||||||||||||||||||||||||||||||
| - main | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| pull_request: | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| branches: | ||||||||||||||||||||||||||||||||||
| - main | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| workflow_dispatch: | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||||||||||
| nvdaL10n: | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||
| - name: Checkout repository | ||||||||||||||||||||||||||||||||||
| uses: actions/checkout@v6 | ||||||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||||||
| submodules: true | ||||||||||||||||||||||||||||||||||
| - name: Create executable | ||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||
| pyInstaller --onefile _l10n/source/l10nUtil.py | ||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
| pyInstaller --onefile _l10n/source/l10nUtil.py | |
| pyinstaller --onefile _l10n/source/l10nUtil.py |
Copilot
AI
Apr 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After checkout, the workflow goes straight to building an executable without setting up Python or installing runtime deps (e.g., PyInstaller). Add actions/setup-python and an install step (pip/uv) before the build step so the job is reproducible on ubuntu-latest.
| - name: Create executable | |
| run: | | |
| pyInstaller --onefile _l10n/source/l10nUtil.py | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install build dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pyinstaller | |
| - name: Create executable | |
| run: | | |
| python -m PyInstaller --onefile _l10n/source/l10nUtil.py |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [submodule "_l10n"] | ||
| path = _l10n | ||
| url = https://github.com/nvaccess/nvdaL10n |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,46 @@ | ||||||
| [build-system] | ||||||
| requires = ["setuptools~=80.9", "wheel"] | ||||||
| build-backend = "setuptools.build_meta" | ||||||
|
|
||||||
| [project] | ||||||
| name = "addonTemplate" | ||||||
| dynamic = ["version"] | ||||||
| description = "NVDA add-on template" | ||||||
| maintainers = [ | ||||||
| {name = "NV Access", email = "info@nvaccess.org"}, | ||||||
| ] | ||||||
| requires-python = ">=3.13,<3.14" | ||||||
| classifiers = [ | ||||||
| "Development Status :: 5 - Production/Stable", | ||||||
| "Intended Audience :: End Users/Desktop", | ||||||
| "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", | ||||||
| "Operating System :: Microsoft :: Windows", | ||||||
| "Programming Language :: Python :: 3", | ||||||
| "Topic :: Accessibility", | ||||||
| ] | ||||||
| readme = "readme.md" | ||||||
| license = {file = "COPYING.TXT"} | ||||||
|
||||||
| license = {file = "COPYING.TXT"} | |
| license = {file = "COPYING.txt"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead can we build the exe in
nvdal10nand just add the exe to file here?