mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
adopt setup.py to work with python installation older 2.7
This commit is contained in:
parent
ac713705eb
commit
d685614138
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
@ -45,7 +45,9 @@ else:
|
|||
|
||||
Sdist = sdist
|
||||
|
||||
libraries = ['ws2_32'] if sys.platform == 'win32' else []
|
||||
libraries = []
|
||||
if sys.platform == 'win32':
|
||||
libraries.append('ws2_32')
|
||||
|
||||
msgpack_mod = Extension('msgpack._msgpack',
|
||||
sources=sources,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue