Closed musicinmybrain closed 9 months ago
It looks like there is a reasonable attempt to test for this in
and
but the environment variable and the corresponding variable ezdxf.options.use_c_ext
are never checked when importing ezdxf.acc.construct
directly, and the import succeeds when the C extensions are present, regardless of whether they are enabled.
Thank you!
Describe the bug
When
EZDXF_DISABLE_C_EXT=1
is set, a number of tests that useis_point_in_polygon_cy
fail withThe tests have historically worked both with and without the C extensions, so presumably this should be conditionalized to avoid assuming the accelerated/Cython types.
To Reproduce
Confidential Data
N/A
Expected behavior A clear and concise description of what you expected to happen.
Screenshots