Source code for rubin_scheduler.utils.get_package_dir

__all__ = ("get_package_dir",)

import inspect
import os


[docs] def get_package_dir(package): """Return the path to a package""" return os.path.dirname(os.path.dirname(inspect.getfile(package)))