• Benjamin Winger's avatar
    Reimplemented ModInfo in a somewhat nicer manner · 9f545abc
    Benjamin Winger authored
    Rather than modifying frames, we abuse the import system to allow importing from portmod.pybuild.modinfo to return values relevant to the pybuild
    Note that this requires deleting the cached version of the module to work, as otherwise the values will always be the same as the first time it was imported
    9f545abc
loader.py 5.1 KB