# encoding: utf-8

import pathlib

import pandas

from sdsstools import Configuration, get_logger, get_package_version


NAME = "lvmguider"


# package name should be pip package name
__version__ = get_package_version(path=__file__, package_name=NAME)


# Temporary config. Default to sci. This will be updated by the actor.
config = Configuration(pathlib.Path(__file__).parent / "etc/lvmguider.yml")

log = get_logger(NAME, use_rich_handler=True)


pandas.options.future.infer_string = True  # type: ignore
pandas.options.mode.copy_on_write = "warn"
