diff --git a/kivy/graphics/tesselator.pyx b/kivy/graphics/tesselator.pyx index bdf56d289..e1aef259b 100644 --- a/kivy/graphics/tesselator.pyx +++ b/kivy/graphics/tesselator.pyx @@ -72,11 +72,11 @@ cdef extern from "tesselator.h": pass ctypedef struct TESSalloc: pass - ctypedef enum TessElementType: + cdef enum TessElementType: TESS_POLYGONS TESS_CONNECTED_POLYGONS TESS_BOUNDARY_CONTOURS - ctypedef enum TessWindingRule: + cdef enum TessWindingRule: TESS_WINDING_ODD TESS_WINDING_NONZERO TESS_WINDING_POSITIVE diff --git a/setup.py b/setup.py index 072371b0a..a220ff8e2 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ if PY3: # fix error with py3's LooseVersion comparisons MIN_CYTHON_STRING = '0.20' MIN_CYTHON_VERSION = LooseVersion(MIN_CYTHON_STRING) -MAX_CYTHON_STRING = '0.22' +MAX_CYTHON_STRING = '0.23' MAX_CYTHON_VERSION = LooseVersion(MAX_CYTHON_STRING) CYTHON_UNSUPPORTED = ()