Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
92bc5c93
Commit
92bc5c93
authored
Nov 23, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure only the required files on pypy.
parent
e02b0650
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
162 additions
and
156 deletions
+162
-156
appveyor.yml
appveyor.yml
+154
-154
gevent/_corecffi_build.py
gevent/_corecffi_build.py
+6
-1
setup.py
setup.py
+2
-1
No files found.
appveyor.yml
View file @
92bc5c93
...
...
@@ -116,18 +116,18 @@ install:
# XXX: Most of this is a copy of the Makefile. Remember to update.
-
cmd
:
IF "%PYTHON_EXE%" == "python" (
"%PYEXE% util/cythonpp.py -o gevent.corecext.c gevent/core.ppyx"
"type gevent\\callbacks.c >> gevent.corecext.c"
"move gevent.corecext.* gevent"
"cython -o gevent.ares.c gevent/ares.pyx"
"move gevent.ares.* gevent"
"move gevent\\_semaphore.pyx gevent\\_semaphore.py"
"cython -o gevent._semaphore.c gevent/_semaphore.py"
"move gevent._semaphore.* gevent"
"del gevent\\_semaphore.py"
"cython -o gevent._util.c gevent/_util.pyx"
"move gevent._util.* gevent"
%PYEXE% util/cythonpp.py -o gevent.corecext.c gevent/core.ppyx
type gevent\\callbacks.c >> gevent.corecext.c
move gevent.corecext.* gevent
)
cython -o gevent.ares.c gevent/ares.pyx
move gevent.ares.* gevent
move gevent\\_semaphore.pyx gevent\\_semaphore.py
cython -o gevent._semaphore.c gevent/_semaphore.py
move gevent._semaphore.* gevent
del gevent\\_semaphore.py
cython -o gevent._util.c gevent/_util.pyx
move gevent._util.* gevent
cache
:
-
"
%TMP%
\\
py
\\
"
...
...
gevent/_corecffi_build.py
View file @
92bc5c93
...
...
@@ -227,8 +227,13 @@ _watcher_types = [
'ev_timer'
,
]
_source
=
""" // passed to the real C compiler
_source
=
"""
// passed to the real C compiler
#define LIBEV_EMBED 1
#ifdef _WIN32
#define EV_STANDALONE 1
#endif
#include "libev_vfd.h"
#include "libev.h"
...
...
setup.py
View file @
92bc5c93
...
...
@@ -340,6 +340,7 @@ elif PYPY:
# XXX ugly - need to find a better way
system
(
'cp -r libev gevent/libev'
)
system
(
'touch gevent/libev/__init__.py'
)
if
sys
.
platform
!=
'win32'
:
system
(
'cd gevent/libev && ./configure > configure_output.txt'
)
# XXX: Note that we're NOT adding the distutils extension module, but
# doing so compiles the module already: import gevent._corecffi_build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment