chore(extensions): clean up backend entrypoints and file globs (#38360)

This commit is contained in:
Ville Brofeldt
2026-03-03 09:45:35 -08:00
committed by GitHub
parent 016417f793
commit c35bf344a9
11 changed files with 426 additions and 117 deletions

View File

@@ -2,3 +2,10 @@
name = "{{ backend_package }}"
version = "{{ version }}"
license = "{{ license }}"
[tool.apache_superset_extensions.build]
# Files to include in the extension build/bundle
include = [
"src/{{ backend_path|replace('.', '/') }}/**/*.py",
]
exclude = []

View File

@@ -4,11 +4,5 @@
"displayName": "{{ display_name }}",
"version": "{{ version }}",
"license": "{{ license }}",
{% if include_backend -%}
"backend": {
"entryPoints": ["{{ backend_entry }}"],
"files": ["backend/src/{{ backend_path|replace('.', '/') }}/**/*.py"]
},
{% endif -%}
"permissions": []
}