Skip to content

Commit 4ff422f

Browse files
committed
fix: remove out of date incompat. hordelib check
This was originally to smooth over the hordelib->horde_engine rename (especially in the case of manually managed venvs) and is no longer required.
1 parent 39357f6 commit 4ff422f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

horde_worker_regen/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,3 @@
99
ASSETS_FOLDER_PATH = Path(__file__).parent / "assets"
1010

1111
__version__ = "10.1.2"
12-
13-
14-
import pkg_resources # noqa: E402
15-
16-
17-
def check_hordelib_not_installed() -> None:
18-
"""Check that hordelib is not installed."""
19-
try:
20-
pkg_resources.get_distribution("hordelib")
21-
raise RuntimeError(
22-
"hordelib is installed. Please uninstall it before running this package. "
23-
"`hordelib` has been renamed to `horde_engine`.",
24-
)
25-
except pkg_resources.DistributionNotFound:
26-
pass
27-
28-
29-
check_hordelib_not_installed()

0 commit comments

Comments
 (0)