biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / pr / pretix / plugin-build.patch
blobaa935ed2814851beb353e056cf921e450a5be7bd
1 diff --git a/src/pretix/_build_settings.py b/src/pretix/_build_settings.py
2 index c03f56a1a..d1ea73b84 100644
3 --- a/src/pretix/_build_settings.py
4 +++ b/src/pretix/_build_settings.py
5 @@ -24,6 +24,8 @@
6 This file contains settings that we need at wheel require time. All settings that we only need at runtime are set
7 in settings.py.
8 """
9 +from importlib_metadata import entry_points
11 from ._base_settings import * # NOQA
13 ENTROPY = {
14 @@ -47,3 +49,6 @@ HAS_MEMCACHED = False
15 HAS_CELERY = False
16 HAS_GEOIP = False
17 SENTRY_ENABLED = False
19 +for entry_point in entry_points(group='pretix.plugin'):
20 + INSTALLED_APPS.append(entry_point.module) # noqa: F405