Skip to content

Commit 5f80a55

Browse files
committed
Use pyuv on Windows
1 parent d6669ab commit 5f80a55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import platform
22
import sys
3+
import os
34

45
from setuptools import setup
56

67
install_requires = [
78
'msgpack-python>=0.4.0',
89
]
910

10-
if sys.version_info < (3, 4):
11+
if os.name == 'nt':
12+
install_requires.append('pyuv')
13+
elif sys.version_info < (3, 4):
1114
# trollius is just a backport of 3.4 asyncio module
1215
install_requires.append('trollius')
1316

0 commit comments

Comments
 (0)