Use setuptools entrypoints to find apps
- Nov 15, 2020
-
-
Nik | Klampfradler authored
-
Nik | Klampfradler authored
-
Nik | Klampfradler authored
-
Nik | Klampfradler authored
In contrast to scanning the `aleksis.apps` namespace, this has some benefits: 1. Does not need to import the module to consider it (resolve potential circular imports
) 2. Does not need to scan filesystems and wheels 3. Apps can choose their own namespaces, register multiple apps/ variants, and much more)
-