Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
b76fea7d
Commit
b76fea7d
authored
Jul 03, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use uvloop for >= Py3.5
parent
48defe9f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
setup.py
setup.py
+16
-12
src/ZEO/asyncio/__init__.py
src/ZEO/asyncio/__init__.py
+6
-1
No files found.
setup.py
View file @
b76fea7d
...
...
@@ -25,6 +25,21 @@ if (3, 0) < sys.version_info < (3, 3):
print
(
"This version of ZEO requires Python 3.3 or higher"
)
sys
.
exit
(
0
)
install_requires
=
[
'ZODB >= 5.0.0a1'
,
'six'
,
'transaction >= 1.6.0'
,
'persistent >= 4.1.0'
,
'zc.lockfile'
,
'ZConfig'
,
'zdaemon'
,
'zope.interface'
,
]
tests_require
=
[
'zope.testing'
,
'manuel'
,
'random2'
,
'mock'
]
if
sys
.
version_info
>=
(
3
,
5
):
install_requires
.
append
(
'uvloop'
)
classifiers
=
"""
\
Intended Audience :: Developers
...
...
@@ -92,8 +107,6 @@ def alltests():
_unittests_only
(
suite
,
mod
.
test_suite
())
return
suite
tests_require
=
[
'zope.testing'
,
'manuel'
,
'random2'
,
'mock'
]
long_description
=
(
open
(
'README.rst'
).
read
()
+
'
\
n
'
+
...
...
@@ -114,16 +127,7 @@ setup(name="ZEO",
test_suite
=
"__main__.alltests"
,
# to support "setup.py test"
tests_require
=
tests_require
,
extras_require
=
dict
(
test
=
tests_require
),
install_requires
=
[
'ZODB >= 5.0.0a1'
,
'six'
,
'transaction >= 1.6.0'
,
'persistent >= 4.1.0'
,
'zc.lockfile'
,
'ZConfig'
,
'zdaemon'
,
'zope.interface'
,
],
install_requires
=
install_requires
,
zip_safe
=
False
,
entry_points
=
"""
[console_scripts]
...
...
src/ZEO/asyncio/__init__.py
View file @
b76fea7d
#
import
sys
if
sys
.
version_info
>=
(
3
,
5
):
import
asyncio
import
uvloop
asyncio
.
set_event_loop_policy
(
uvloop
.
EventLoopPolicy
())
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