Skip to content

Commit

Permalink
Add language_level to cythonize to fix adm_dwt2_cy build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
li-zhi authored and nilfm99 committed Jan 29, 2024
1 parent 03d3117 commit b6548d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def extensions(self):

self._extensions = cythonize([
'vmaf/core/adm_dwt2_cy.pyx'
])
], compiler_directives={'language_level' : "3"})
self._extensions[0].include_dirs = [numpy.get_include(), '../libvmaf/src']

return self._extensions
Expand Down

0 comments on commit b6548d4

Please sign in to comment.