Merge pull request #7072 from radarhere/fixme

This commit is contained in:
Hugo van Kemenade 2023-04-06 14:37:14 +03:00 committed by GitHub
commit 7e2ac65674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -681,10 +681,6 @@ class pil_build_ext(build_ext):
# Add the directory to the include path so we can include
# <openjpeg.h> rather than having to cope with the versioned
# include path
# FIXME (melvyn-sopacua):
# At this point it's possible that best_path is already in
# self.compiler.include_dirs. Should investigate how that is
# possible.
_add_directory(self.compiler.include_dirs, best_path, 0)
feature.jpeg2000 = "openjp2"
feature.openjpeg_version = ".".join(str(x) for x in best_version)