Skip to content

Commit 5998b2a

Browse files
committed
fix: update locales path and resolve manifest warnings
- Renamed i18n directory from 'locale' to 'locales' in MANIFEST.in and pyproject.toml to prevent potential namespace shadowing. - Fixed a typo in MANIFEST.in that merged 'top_level.txt' and 'build_hooks.py' into a single invalid line. - Corrected the recursive-include paths to ensure .mo and .pot translation files are properly captured in the source distribution. - Updated _vendor/uv submodule to include recent memory-safe release profile changes. Modified: • MANIFEST.in (+4/-3 lines) • pyproject.toml (+3/-3 lines) [gitship-generated]
1 parent 1a936b2 commit 5998b2a

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

MANIFEST.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ include COMMERCIAL_LICENSE.md
1212
recursive-include licenses *.txt
1313

1414
# Locale files (inside src/omnipkg/)
15-
recursive-include src/omnipkg/locale *.mo
16-
recursive-include src/omnipkg/locale *.pot
15+
recursive-include src/omnipkg/locales *.mo
16+
recursive-include src/omnipkg/locales *.pot
1717

1818
# Tests package (inside src/tests/)
1919
recursive-include src/tests *.py
2020

2121
# Top-level module list
22-
include top_level.txtinclude build_hooks.py
22+
include top_level.txt
23+
include build_hooks.py

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ exclude = [
162162

163163
[tool.setuptools.package-data]
164164
omnipkg = [
165-
"locale/**/*.mo",
166-
"locale/**/*.pot",
167-
"dispatcher.c", # ← ADD THIS
165+
"locales/**/*.mo",
166+
"locales/**/*.pot",
167+
"dispatcher.c",
168168
]
169169

170170
[tool.setuptools]

0 commit comments

Comments
 (0)