mysqlclient · PyPI
https://pypi.org/project/mysqlclient17.11.2021 · mysqlclient uses mysql_config or mariadb_config by default for finding compiler/linker flags. You can use MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS environment variables to customize compiler/linker options.