mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Use C++ function templating for skip()/construct()
This commit is contained in:
parent
96ed236c1d
commit
d56e2b2c8a
4 changed files with 27 additions and 22 deletions
4
setup.py
4
setup.py
|
@ -18,7 +18,7 @@ except ImportError:
|
|||
|
||||
def cythonize(src):
|
||||
sys.stderr.write("cythonize: %r\n" % (src,))
|
||||
cython_compiler.compile([src])
|
||||
cython_compiler.compile([src], cplus=True)
|
||||
|
||||
def ensure_source(src):
|
||||
pyx = os.path.splitext(src)[0] + '.pyx'
|
||||
|
@ -67,7 +67,7 @@ if have_cython:
|
|||
else:
|
||||
Sdist = sdist
|
||||
|
||||
sources = ['msgpack/_msgpack.c']
|
||||
sources = ['msgpack/_msgpack.cpp']
|
||||
libraries = []
|
||||
if sys.platform == 'win32':
|
||||
libraries.append('ws2_32')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue