mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Use pkg-config instead of mysql_config (#586)
MySQL breaks mysql_config often. Use pkg-config instead. Fixes #584
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
from configparser import ConfigParser as SafeConfigParser
|
||||
from configparser import ConfigParser
|
||||
|
||||
|
||||
def get_metadata_and_options():
|
||||
config = SafeConfigParser()
|
||||
config = ConfigParser()
|
||||
config.read(["metadata.cfg", "site.cfg"])
|
||||
|
||||
metadata = dict(config.items("metadata"))
|
||||
|
Reference in New Issue
Block a user