Closed
Description
I'm running Debian Wheezy with Python 3.2.3.
In iptc/util.py in function _find_library(*names): get_config_var("EXT_SUFFIX") gets called and returns None and so the import fails
Calling get_config_var("SO") is valid until python 3.3 and returns '.cpython-32mu.so'. So I think get_contig_var("SO") should be used instead if version_info <= (3, 3).
The pice of code i'm taking about.
def _find_library(*names):
if version_info > (3, ):
ext = get_config_var("EXT_SUFFIX")
else:
ext = get_config_var('SO')
Metadata
Metadata
Assignees
Labels
No labels