Package resources

This commit is contained in:
Yax 2024-12-09 17:18:23 +01:00
parent f5fc48e909
commit 9bd8b8b594
3 changed files with 22 additions and 4 deletions

View file

@ -26,3 +26,16 @@ dev = [
"pytest>=8.3.4",
"black>=24.10.0",
]
[tool.setuptools]
package-dir = { "" = "src" } # Specify the root directory for packages
packages = ["stacosys"]
[tool.setuptools.package-data]
# Include `.properties` and `.html` files in the specified directories
"stacosys.i18n" = ["*.properties"]
"stacosys.interface.templates" = ["*.html"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"