Skip to content

The variable pkg.include_dirs was a filter object (Python3) #5

@mehdi-benallegue

Description

@mehdi-benallegue

Related to this line

return Extension(name, [ext_src], extra_compile_args = pkg.compile_args, include_dirs = pkg.include_dirs + [numpy.get_include()], library_dirs = pkg.library_dirs, libraries = pkg.libraries)

This happened on my desktop computer and I didn't really investigate why, but it stops the build at that line because you cannot use + operator between filters and lists.

Maybe cherry-pick the commit
rafaelxero@b998959

adding the line
pkg.include_dirs=list(pkg.include_dirs)

From my PR to Rafael's fork (on our own branch)
rafaelxero#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions