We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f2a839 commit 807933eCopy full SHA for 807933e
setup.py
@@ -14,7 +14,8 @@
14
15
def find_package_name():
16
"""Get available pkg-config package name"""
17
- packages = ["mysqlclient", "mariadb"]
+ # Ubuntu uses mariadb.pc, but CentOS uses libmariadb.pc
18
+ packages = ["mysqlclient", "mariadb", "libmariadb"]
19
for pkg in packages:
20
try:
21
cmd = f"pkg-config --exists {pkg}"
@@ -153,7 +154,7 @@ def get_options():
153
154
else:
155
ext_options = get_config_posix(get_options())
156
-print("# Options for building extention module:")
157
+print("# Options for building extension module:")
158
for k, v in ext_options.items():
159
print(f" {k}: {v}")
160
0 commit comments