Skip to content

Commit

Permalink
Rename corecext.ppyx to just corecext.pyx now that we don't preprocess.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jan 23, 2018
1 parent 9c96233 commit 80d3b16
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -6,7 +6,6 @@ build/
*.o
*.egg-info
gevent.*.[ch]
src/gevent/libev/corecext.pyx
src/gevent/__pycache__
src/gevent/libev/_corecffi.c
src/gevent/libev/_corecffi.o
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -249,7 +249,7 @@ libev

- The C extension has been updated to use more modern Cython idioms
and generate less code for simplicity, faster compilation and better
cache usage.
cache usage. See :pr:`1077`.

- Watcher objects may be slightly larger. On a 64-bit platform, a
typical watcher may be 16 bytes (2 pointers) larger. This is
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Expand Up @@ -14,8 +14,8 @@ export LC_ALL=C.UTF-8

all: src/gevent/libev/gevent.corecext.c src/gevent/gevent.ares.c src/gevent/gevent._semaphore.c src/gevent/gevent._local.c

src/gevent/libev/gevent.corecext.c: src/gevent/libev/corecext.ppyx src/gevent/libev/libev.pxd src/gevent/libev/libev.h
$(CYTHON) -o gevent.corecext.c src/gevent/libev/corecext.ppyx
src/gevent/libev/gevent.corecext.c: src/gevent/libev/corecext.pyx src/gevent/libev/libev.pxd src/gevent/libev/libev.h
$(CYTHON) -o gevent.corecext.c src/gevent/libev/corecext.pyx
echo '#include "callbacks.c"' >> gevent.corecext.c
mv gevent.corecext.* src/gevent/libev/

Expand All @@ -40,7 +40,6 @@ src/gevent/gevent._local.c: src/gevent/local.py


clean:
rm -f corecext.pyx src/gevent/libev/corecext.pyx
rm -f gevent.corecext.c gevent.corecext.h src/gevent/libev/gevent.corecext.c src/gevent/libev/gevent.corecext.h
rm -f gevent.ares.c gevent.ares.h src/gevent/gevent.ares.c src/gevent/gevent.ares.h
rm -f gevent._semaphore.c gevent._semaphore.h src/gevent/gevent._semaphore.c src/gevent/gevent._semaphore.h
Expand Down
2 changes: 1 addition & 1 deletion appveyor/make.cmd
@@ -1,5 +1,5 @@
IF "%PYTHON_EXE%" == "python" (
cython -o gevent.corecext.c src\gevent\libev\corecext.ppyx
cython -o gevent.corecext.c src\gevent\libev\corecext.pyx
type src\gevent\libev\callbacks.c >> gevent.corecext.c
move gevent.corecext.* src\gevent\libev
)
Expand Down
File renamed without changes.

0 comments on commit 80d3b16

Please sign in to comment.