forked from openlp/openlp
Use PyMySQL rather than MySQL Connector
This commit is contained in:
parent
4f0ee2b0d3
commit
38a6f1b2ca
@ -67,7 +67,7 @@ def database_exists(url):
|
|||||||
create_database(engine.url)
|
create_database(engine.url)
|
||||||
database_exists(engine.url) #=> True
|
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))
|
url = copy(make_url(url))
|
||||||
|
@ -97,7 +97,7 @@ MODULES = [
|
|||||||
|
|
||||||
OPTIONAL_MODULES = [
|
OPTIONAL_MODULES = [
|
||||||
('qdarkstyle', '(dark style support)'),
|
('qdarkstyle', '(dark style support)'),
|
||||||
('mysql.connector', '(MySQL support)'),
|
('pymysql', '(MySQL support)'),
|
||||||
('pyodbc', '(ODBC support)'),
|
('pyodbc', '(ODBC support)'),
|
||||||
('psycopg2', '(PostgreSQL support)'),
|
('psycopg2', '(PostgreSQL support)'),
|
||||||
('enchant', '(spell checker)'),
|
('enchant', '(spell checker)'),
|
||||||
|
2
setup.py
2
setup.py
@ -191,7 +191,7 @@ using a computer and a data projector.""",
|
|||||||
extras_require={
|
extras_require={
|
||||||
'agpl-pdf': ['PyMuPDF'],
|
'agpl-pdf': ['PyMuPDF'],
|
||||||
'darkstyle': ['QDarkStyle'],
|
'darkstyle': ['QDarkStyle'],
|
||||||
'mysql': ['mysql-connector-python'],
|
'mysql': ['pymysql'],
|
||||||
'odbc': ['pyodbc'],
|
'odbc': ['pyodbc'],
|
||||||
'postgresql': ['psycopg2'],
|
'postgresql': ['psycopg2'],
|
||||||
'spellcheck': ['pyenchant >= 1.6'],
|
'spellcheck': ['pyenchant >= 1.6'],
|
||||||
|
Loading…
Reference in New Issue
Block a user