Commit e4ea3896 authored by Jason Madden's avatar Jason Madden

Add the pxd's as explicit deps; they don't actually seem to trigger...

Add the pxd's as explicit deps; they don't actually seem to trigger recompilation, at least if just decorators are added.
parent efcad39a
...@@ -49,11 +49,13 @@ from _setupares import ARES ...@@ -49,11 +49,13 @@ from _setupares import ARES
SEMAPHORE = Extension(name="gevent._semaphore", SEMAPHORE = Extension(name="gevent._semaphore",
sources=["src/gevent/_semaphore.py"]) sources=["src/gevent/_semaphore.py"],
depends=['src/gevent/_semaphore.pxd'])
SEMAPHORE = cythonize1(SEMAPHORE) SEMAPHORE = cythonize1(SEMAPHORE)
LOCAL = Extension(name="gevent.local", LOCAL = Extension(name="gevent.local",
sources=["src/gevent/local.py"]) sources=["src/gevent/local.py"],
depends=['src/gevent/local.pxd'])
LOCAL = cythonize1(LOCAL) LOCAL = cythonize1(LOCAL)
EXT_MODULES = [ EXT_MODULES = [
......
# cython: auto_pickle=False # cython: auto_pickle=False
cimport cython
@cython.final
@cython.internal
cdef class _wrefdict(dict): cdef class _wrefdict(dict):
cdef object __weakref__ cdef object __weakref__
@cython.final
@cython.internal
cdef class _localimpl: cdef class _localimpl:
cdef str key cdef str key
cdef dict dicts cdef dict dicts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment