diff --git a/rubin_sim/scheduler/__init__.py b/rubin_sim/scheduler/__init__.py new file mode 100644 index 000000000..38a636501 --- /dev/null +++ b/rubin_sim/scheduler/__init__.py @@ -0,0 +1,6 @@ +import warnings + +from rubin_scheduler.scheduler import * + +warnings.simplefilter("default") +warnings.warn("rubin_sim.scheduler is deprecated, switch to rubin_scheduler.scheduler", DeprecationWarning) diff --git a/rubin_sim/skybrightness_pre/__init__.py b/rubin_sim/skybrightness_pre/__init__.py new file mode 100644 index 000000000..d36e68e15 --- /dev/null +++ b/rubin_sim/skybrightness_pre/__init__.py @@ -0,0 +1,9 @@ +import warnings + +from rubin_scheduler.skybrightness_pre import * + +warnings.simplefilter("default") +warnings.warn( + "rubin_sim.skybrightness_pre is deprecated, switch to rubin_scheduler.skybrightness_pre", + DeprecationWarning, +) diff --git a/rubin_sim/utils/__init__.py b/rubin_sim/utils/__init__.py new file mode 100644 index 000000000..6ce84a18f --- /dev/null +++ b/rubin_sim/utils/__init__.py @@ -0,0 +1,6 @@ +import warnings + +from rubin_scheduler.utils import * + +warnings.simplefilter("default") +warnings.warn("rubin_sim.utils is deprecated, switch to rubin_scheduler.utils", DeprecationWarning)