Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions horde_worker_regen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,3 @@
ASSETS_FOLDER_PATH = Path(__file__).parent / "assets"

__version__ = "10.1.2"


import pkg_resources # noqa: E402


def check_hordelib_not_installed() -> None:
"""Check that hordelib is not installed."""
try:
pkg_resources.get_distribution("hordelib")
raise RuntimeError(
"hordelib is installed. Please uninstall it before running this package. "
"`hordelib` has been renamed to `horde_engine`.",
)
except pkg_resources.DistributionNotFound:
pass


check_hordelib_not_installed()