Skip to content

Commit 1687a2c

Browse files
committed
better diagnostics for API install fail
log the exception on API install fail see #180
1 parent 4d9ae15 commit 1687a2c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# master
22

3+
## Version 2.1.13 (4 Jul 2020)
4+
5+
* better diagnostics for API mode install failure [kleisauke]
6+
37
## Version 2.1.12 (17 Feb 2020)
48

59
* update enums.py [tony612]

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# The short X.Y version.
6767
version = u'2.1'
6868
# The full version, including alpha/beta/rc tags.
69-
release = u'2.1.12'
69+
release = u'2.1.13'
7070

7171
# The language for content autogenerated by Sphinx. Refer to documentation
7272
# for a list of supported languages.

pyvips/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# this is execfile()d into setup.py imported into __init__.py
2-
__version__ = '2.1.12'
2+
__version__ = '2.1.13'
33

44
__all__ = ['__version__']

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from os import path
1212

1313
from setuptools import setup, find_packages
14+
from distutils import log
1415

1516
here = path.abspath(path.dirname(__file__))
1617

@@ -116,5 +117,6 @@ def setup_ABI():
116117

117118
try:
118119
setup_API()
119-
except Exception:
120+
except Exception as e:
121+
log.warn('Falling back to ABI mode. Details: {0}'.format(e))
120122
setup_ABI()

0 commit comments

Comments
 (0)