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
eacbb250
Commit
eacbb250
authored
Mar 06, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We require headers from greenlet at build time so it is a setup_requires.
parent
cc6b2dff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
CHANGES.rst
CHANGES.rst
+6
-1
setup.py
setup.py
+9
-3
No files found.
CHANGES.rst
View file @
eacbb250
...
...
@@ -31,7 +31,12 @@ Platform Support
Build Changes
-------------
- Fix building from a source distribution (PyPI) without Cython installed.
- Fix building from a source distribution (PyPI) without Cython
installed.
- greenlet is now required at build time. If it is not installed
before gevent is installed, gevent will be built twice when
installing from source.
Enhancements
------------
...
...
setup.py
View file @
eacbb250
...
...
@@ -124,15 +124,21 @@ if not SKIP_LIBUV:
# but manylinux1 has only 2.5, so we set SKIP_LIBUV in the script make-manylinux
cffi_modules
.
append
(
LIBUV_CFFI_MODULE
)
install
_requires
=
[
greenlet
_requires
=
[
# We need to watch our greenlet version fairly carefully,
# since we compile cython code that extends the greenlet object.
# Binary compatibility would break if the greenlet struct changes.
'greenlet >= 0.4.13; platform_python_implementation=="CPython"'
,
]
setup_requires
=
[
]
install_requires
=
greenlet_requires
+
[]
# We use headers from greenlet, so it needs to be installed before we can compile.
# XXX: This doesn't quite seem to work: pip tries to build the wheel, which
# fails because greenlet is not installed (it's in a .eggs/ directory in the
# build directory, but that directory doesn't have includes). Then it installs greenlet,
# and builds gevent again, which works.
setup_requires
=
greenlet_requires
+
[]
if
PYPY
:
# These use greenlet/greenlet.h, which doesn't exist on PyPy
...
...
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