scamp.utilities.resolve_package_path

scamp.utilities.resolve_package_path(path: str) → str[source]

Resolve a path given relative to the scamp package into an absolute one, accounting for the fact that, in a PyInstaller-frozen application, package data sits next to the executable instead.

Parameters:

path – a path relative to the scamp package directory