3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

core: update "missing dependencies" errors

Closes #363.
This commit is contained in:
James Lu 2016-12-09 17:15:53 -08:00
parent 638b9dc84a
commit e7e2f2c98e
3 changed files with 8 additions and 4 deletions

View File

@ -20,7 +20,7 @@ from collections import defaultdict, deque
try:
import ircmatch
except ImportError:
raise ImportError("Please install the ircmatch library and try again.")
raise ImportError("PyLink requires ircmatch to function; please install it and try again.")
from . import world, utils, structures, __version__
from .log import *

View File

@ -8,7 +8,7 @@ It provides simple checks for validating and loading YAML-format configurations
try:
import yaml
except ImportError:
raise ImportError("Please install PyYAML and try again.")
raise ImportError("PyLink requires PyYAML to function; please install it and try again.")
import sys
import os.path

View File

@ -4,7 +4,11 @@ login.py - Implement core login abstraction.
from pylinkirc import conf, utils, world
from pylinkirc.log import log
try:
from passlib.context import CryptContext
except ImportError:
raise ImportError("PyLink requires passlib to function; please install it and try again.")
pwd_context = CryptContext(["sha512_crypt", "sha256_crypt"],
all__vary_rounds=0.1,