mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
parent
2b5f59166b
commit
d782464c91
10 changed files with 17 additions and 40 deletions
6
setup.py
6
setup.py
|
@ -68,7 +68,7 @@ if len(version) > 3 and version[3] != 'final':
|
|||
if have_cython:
|
||||
class Sdist(sdist):
|
||||
def __init__(self, *args, **kwargs):
|
||||
cythonize('msgpack/_msgpack.pyx')
|
||||
cythonize('msgpack/_cmsgpack.pyx')
|
||||
sdist.__init__(self, *args, **kwargs)
|
||||
else:
|
||||
Sdist = sdist
|
||||
|
@ -84,8 +84,8 @@ else:
|
|||
|
||||
ext_modules = []
|
||||
if not hasattr(sys, 'pypy_version_info'):
|
||||
ext_modules.append(Extension('msgpack._msgpack',
|
||||
sources=['msgpack/_msgpack.cpp'],
|
||||
ext_modules.append(Extension('msgpack._cmsgpack',
|
||||
sources=['msgpack/_cmsgpack.cpp'],
|
||||
libraries=libraries,
|
||||
include_dirs=['.'],
|
||||
define_macros=macros,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue