10000 Merge pull request #2 from urso/master · ooici/msgpack-python@c2e297d · GitHub
[go: up one dir, main page]

Skip to content

Commit c2e297d

Browse files
committed
Merge pull request msgpack#2 from urso/master
adopt setup.py to work with python older 2.7
2 parents 1485b99 + d685614 commit c2e297d

File tree

Collapse file tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ def __init__(self, *args, **kwargs):
4545

4646
Sdist = sdist
4747

48-
libraries = ['ws2_32'] if sys.platform == 'win32' else []
48+
libraries = []
49+
if sys.platform == 'win32':
50+
libraries.append('ws2_32')
4951

5052
msgpack_mod = Extension('msgpack._msgpack',
5153
sources=sources,

0 commit comments

Comments
 (0)
0