File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 66import sys
77
88
9+ from setuptools import setup , Extension
10+ from setuptools .command .build_ext import build_ext as build_ext
11+ from setuptools .command .sdist import sdist as sdist
12+
13+
914if sys .platform in ('win32' , 'cygwin' , 'cli' ):
1015 raise RuntimeError ('uvloop does not support Windows at the moment' )
1116
1722 raise RuntimeError ('uvloop requires Python 3.5 or 3.6b3 or greater' )
1823
1924
20- from setuptools import setup , Extension
21- from setuptools .command .build_ext import build_ext as build_ext
22- from setuptools .command .sdist import sdist as sdist
23-
24-
2525VERSION = '0.9.2.dev0'
2626CFLAGS = ['-O2' ]
2727LIBUV_DIR = os .path .join (os .path .dirname (__file__ ), 'vendor' , 'libuv' )
@@ -117,9 +117,9 @@ def finalize_options(self):
117117 raise RuntimeError (
118118 'please install Cython to compile uvloop from source' )
119119
120- if Cython .__version__ < '0.24 ' :
120+ if Cython .__version__ < '0.28 ' :
121121 raise RuntimeError (
122- 'uvloop requires Cython version 0.24 or greater' )
122+ 'uvloop requires Cython version 0.28 or greater' )
123123
124124 from Cython .Build import cythonize
125125
You can’t perform that action at this time.
0 commit comments