make_path

gammapy.utils.scripts.make_path(path)[source]

Expand environment variables on Path construction.

Parameters
pathstr, pathlib.Path

path to expand