PYTHON-3760 Add C extension building as part of tox test environment (#1255)
This commit is contained in:
parent
424e6c46fa
commit
2a4dc9cb0c
4
setup.py
4
setup.py
@ -126,6 +126,8 @@ https://pymongo.readthedocs.io/en/stable/installation.html#osx
|
||||
try:
|
||||
build_ext.run(self)
|
||||
except Exception:
|
||||
if "TOX_ENV_NAME" in os.environ:
|
||||
raise
|
||||
e = sys.exc_info()[1]
|
||||
sys.stdout.write("%s\n" % str(e))
|
||||
warnings.warn(
|
||||
@ -141,6 +143,8 @@ https://pymongo.readthedocs.io/en/stable/installation.html#osx
|
||||
try:
|
||||
build_ext.build_extension(self, ext)
|
||||
except Exception:
|
||||
if "TOX_ENV_NAME" in os.environ:
|
||||
raise
|
||||
e = sys.exc_info()[1]
|
||||
sys.stdout.write("%s\n" % str(e))
|
||||
warnings.warn(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user