mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
rename _msgpack.pyx => _packer.pyx
This commit is contained in:
parent
171145e562
commit
280d56eb9b
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
# coding: utf-8
|
||||
from msgpack._version import version
|
||||
from msgpack._msgpack import *
|
||||
from msgpack.exceptions import *
|
||||
from msgpack._packer import pack, packb, Packer, unpack, unpackb, Unpacker
|
||||
|
||||
# alias for compatibility to simplejson/marshal/pickle.
|
||||
load = unpack
|
||||
|
|
4
setup.py
4
setup.py
|
@ -59,7 +59,7 @@ if have_cython:
|
|||
else:
|
||||
Sdist = sdist
|
||||
|
||||
sources = ['msgpack/_msgpack.cpp']
|
||||
sources = ['msgpack/_packer.cpp']
|
||||
libraries = []
|
||||
if sys.platform == 'win32':
|
||||
libraries.append('ws2_32')
|
||||
|
@ -69,7 +69,7 @@ if sys.byteorder == 'big':
|
|||
else:
|
||||
macros = [('__LITTLE_ENDIAN__', '1')]
|
||||
|
||||
msgpack_mod = Extension('msgpack._msgpack',
|
||||
msgpack_mod = Extension('msgpack._packer',
|
||||
sources=sources,
|
||||
libraries=libraries,
|
||||
include_dirs=['.'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue