diff --git a/openlp/core/lib/db.py b/openlp/core/lib/db.py index e2ef2e33e..62cc7101d 100644 --- a/openlp/core/lib/db.py +++ b/openlp/core/lib/db.py @@ -67,7 +67,7 @@ def database_exists(url): create_database(engine.url) database_exists(engine.url) #=> True - Borrowed from SQLAlchemy_Utils (v0.32.14 )since we only need this one function. + Borrowed from SQLAlchemy_Utils (v0.32.14) since we only need this one function. """ url = copy(make_url(url)) diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index a08bfc860..0d5f3f5d5 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -97,7 +97,7 @@ MODULES = [ OPTIONAL_MODULES = [ ('qdarkstyle', '(dark style support)'), - ('mysql.connector', '(MySQL support)'), + ('pymysql', '(MySQL support)'), ('pyodbc', '(ODBC support)'), ('psycopg2', '(PostgreSQL support)'), ('enchant', '(spell checker)'), diff --git a/setup.py b/setup.py index 75e343f45..d88b94755 100644 --- a/setup.py +++ b/setup.py @@ -191,7 +191,7 @@ using a computer and a data projector.""", extras_require={ 'agpl-pdf': ['PyMuPDF'], 'darkstyle': ['QDarkStyle'], - 'mysql': ['mysql-connector-python'], + 'mysql': ['pymysql'], 'odbc': ['pyodbc'], 'postgresql': ['psycopg2'], 'spellcheck': ['pyenchant >= 1.6'],