moonraker: convert utils.py to a package
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
f48c18bfda
commit
277aecd305
|
@ -34,7 +34,7 @@ if TYPE_CHECKING:
|
||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
from asyncio.trsock import TransportSocket
|
from asyncio.trsock import TransportSocket
|
||||||
|
|
||||||
MOONRAKER_PATH = str(pathlib.Path(__file__).parent.parent.resolve())
|
MOONRAKER_PATH = str(pathlib.Path(__file__).parent.parent.parent.resolve())
|
||||||
SYS_MOD_PATHS = glob.glob("/usr/lib/python3*/dist-packages")
|
SYS_MOD_PATHS = glob.glob("/usr/lib/python3*/dist-packages")
|
||||||
SYS_MOD_PATHS += glob.glob("/usr/lib/python3*/site-packages")
|
SYS_MOD_PATHS += glob.glob("/usr/lib/python3*/site-packages")
|
||||||
|
|
Loading…
Reference in New Issue