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
94f34f04
Commit
94f34f04
authored
Dec 07, 2017
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only try to configure libev for CFFI if we're building it
parent
b1048e0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
appveyor.yml
appveyor.yml
+4
-0
setup.py
setup.py
+4
-2
No files found.
appveyor.yml
View file @
94f34f04
...
...
@@ -122,6 +122,10 @@ install:
# Note that psutil won't build under PyPy on windows.
-
"
%CMD_IN_ENV%
pip
install
-U
wheel
cython
greenlet
cffi"
-
ps
:
if ("${env:PYTHON_ID}" -ne "pypy") {
pip install psutil | Out-Null;
}
-
ps
:
"
if(Test-Path(
\"
${env:PYTHON}
\\
bin
\"
))
{ls
${env:PYTHON}
\\
bin;}"
-
ps
:
"
if(Test-Path(
\"
${env:PYTHON}
\\
Scripts
\"
))
{ls
${env:PYTHON}
\\
Scripts;}"
...
...
setup.py
View file @
94f34f04
...
...
@@ -59,6 +59,7 @@ EXT_MODULES = [
LOCAL
,
]
LIBEV_CFFI_MODULE
=
'src/gevent/libev/_corecffi_build.py:ffi'
cffi_modules
=
[]
if
not
WIN
:
...
...
@@ -69,7 +70,7 @@ if not WIN:
# CFFI code. Plus I could never get the libraries= line to ffi.compile()
# correct to make linking work.
cffi_modules
.
append
(
'src/gevent/libev/_corecffi_build.py:ffi'
LIBEV_CFFI_MODULE
)
if
not
WIN
:
...
...
@@ -137,7 +138,8 @@ def run_setup(ext_modules, run_make):
# to build the CFFI module. We need to configure libev
# because the CORE Extension won't.
# TODO: Generalize this.
system
(
libev_configure_command
)
if
LIBEV_CFFI_MODULE
in
cffi_modules
and
not
WIN
:
system
(
libev_configure_command
)
MakeSdist
.
make
()
...
...
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