Use PyMySQL rather than MySQL Connector

This commit is contained in:
Raoul Snyman 2019-08-03 11:19:25 -07:00
parent 4f0ee2b0d3
commit 38a6f1b2ca
3 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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)'),

View File

@ -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'],