We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e74b3 commit 424381dCopy full SHA for 424381d
setup.py
@@ -7,8 +7,13 @@
7
8
if sys.platform in ('win32', 'cygwin', 'cli'):
9
raise RuntimeError('uvloop does not support Windows at the moment')
10
-if sys.version_info < (3, 5):
+
11
+vi = sys.version_info
12
+if vi < (3, 5):
13
raise RuntimeError('uvloop requires Python 3.5 or greater')
14
+if vi[:2] == (3, 6):
15
+ if vi.releaselevel == 'beta' and vi.serial < 3:
16
+ raise RuntimeError('uvloop requires Python 3.5 or 3.6b3 or greater')
17
18
19
from setuptools import setup, Extension
0 commit comments