Rework `get_version` to not rely on import
What did I drink when I wrote the original code? The relative import `from .. import __version__` in the utility code in core, of course, always imported from `aleksis.core`, no matter the real `AppConfig` that inherited the utility code. Thus, the versions always showed the version of AlekSIS-Core everywhere (whose version information was broken ever since we renamed AlekSIS to AlekSIS-Core). This change decouples the `get_version` code from the package level `__version__` information, which effectively becomes optional now.
Loading
Please register or sign in to comment