sip: fix python_include_dir (#26953)

This commit is contained in:
Manuela Kuhn 2021-11-03 16:27:04 +01:00 committed by GitHub
parent 5c13c5892b
commit 8e4d5a0922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,9 @@ def configure(self, spec, prefix):
args = self.configure_args()
python_include_dir = 'python' + str(spec['python'].version.up_to(2))
python_include_dir = os.path.basename(
inspect.getmodule(self).python_include_dir
)
args.extend([
'--verbose',