mirror of https://github.com/MagicStack/uvloop.git
setup: uvloop requires unix/linux and Python >= 3.5 for now
This commit is contained in:
parent
559fca38fd
commit
8cf90c7c1b
7
setup.py
7
setup.py
|
@ -2,6 +2,13 @@ import os
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
if sys.platform in ('win32', 'cygwin', 'cli'):
|
||||
raise RuntimeError('uvloop does not support Windows at the moment')
|
||||
if sys.version_info < (3, 5):
|
||||
raise RuntimeError('uvloop requires Python 3.5 or greater')
|
||||
|
||||
|
||||
from setuptools import setup, Extension
|
||||
from setuptools.command.build_ext import build_ext
|
||||
|
||||
|
|
Loading…
Reference in New Issue