This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Björn Pollex
Recipients Björn Pollex
Date 2019-10-24.08:20:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571905216.83.0.0723614632287.issue38577@roundup.psfhosted.org>
In-reply-to
Content
When building Python 3.7.2 using pyenv on MacOS, it will use `--with-openssl` to configure OpenSSL. With that option, the compiler options for OpenSSL will be passed via `OPENSSL_*` variables, rather than normal compiler flags (e.g. `OPENSSL_LDFLAGS` vs. `LDFLAGS`). When compiling an extension, these flags will not be propagated by `distutils`, and so an extension that depends on OpenSSL fails to compile.

I'm not sure what the expected behavior here is. Should the package handle this by querying `sysconfig` directly in `setup.py`? Or should this be handled automatically by `distutils`?

Specifically, I ran into this issue when trying to install `mysqlclient-python` (https://github.com/PyMySQL/mysqlclient-python).
History
Date User Action Args
2019-10-24 08:20:16Björn Pollexsetrecipients: + Björn Pollex
2019-10-24 08:20:16Björn Pollexsetmessageid: <1571905216.83.0.0723614632287.issue38577@roundup.psfhosted.org>
2019-10-24 08:20:16Björn Pollexlinkissue38577 messages
2019-10-24 08:20:16Björn Pollexcreate