Skip to content

Commit 6b799d0

Browse files
Tweak for swig v4.4
No longer any need to disable heap types for Python < 3.9. See swig/swig#3219
1 parent 3e96e71 commit 6b799d0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ def get_mod_src_dir(exiv2_version):
153153
extra_compile_args = []
154154
define_macros = [('PY_SSIZE_T_CLEAN', None),
155155
('SWIG_TYPE_TABLE', 'exiv2')]
156-
if sys.version_info < (3, 9):
157-
define_macros.append(('SWIG_NO_HEAPTYPES', None))
158156
if platform in ('linux', 'darwin', 'mingw'):
159157
extra_compile_args = [
160158
'-O3', '-Wno-unused-variable', '-Wno-unused-function',

0 commit comments

Comments
 (0)