Skip to content

How to Ignore Cython, even if found #1229

@ax3l

Description

@ax3l

Currently, importing setuptools.command.build_ext pulls in a Cython dependency if it finds any Cython on a system.

That is not in all cases ideal, e.g. in a package manager (such as spack) or a virtual python environment that does not have a cython installed, while at the same time a system-wide Cython exists. In such a setup, nearly always binary incompatibilities with the system-wide python install will occur.

Is there any way to express "try not to import cython (even when found)" to setuptools?

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