Skip to content

Added utility functions to Pybuilds for getting enabled Files and InstallDirs

Benjamin Winger requested to merge bmwinger/portmod:pybuild_utility_funcs into master

Also made pybuilds stringify as their display atom

This is necessary for the AtlasGen class in openmw-mods!87 (closed), and allows for a new type of pyclass, where, rather than manually calling functions on files, you just mark the File object with some attribute, and then the pyclass goes through and operates on those files in src_prepare, without needing to override src_prepare in the mod using the pyclass.

Merge request reports