Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Pyximport.install() can break the build of projects using pypng #23

@adefazio

Description

@adefazio

I had the problem that after importing pypng into my project, none of my cython code worked anymore. It was caused by pyximport, which is setup in png.py. When pyximport.install() is called, it takes over compilation of cython code for the whole process, not just the file it was called in. So instead of my cython code being compiled using the correct flags that I specified in setup.py, it was being compiled using the default parameters by pyximport, which broke things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions