mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Add setup script for distribution.
This commit is contained in:
parent
2d885ad22a
commit
7247238873
2 changed files with 45 additions and 3 deletions
7
setup.py
7
setup.py
|
@ -2,13 +2,14 @@
|
|||
# coding: utf-8
|
||||
|
||||
from distutils.core import setup, Extension
|
||||
from Cython.Distutils import build_ext
|
||||
#from Cython.Distutils import build_ext
|
||||
import os
|
||||
|
||||
version = '0.1.0'
|
||||
|
||||
msgpack_mod = Extension('msgpack._msgpack',
|
||||
sources=['msgpack/_msgpack.pyx']
|
||||
#sources=['msgpack/_msgpack.pyx']
|
||||
sources=['msgpack/_msgpack.c']
|
||||
)
|
||||
|
||||
desc = 'MessagePack (de)serializer.'
|
||||
|
@ -28,7 +29,7 @@ setup(name='msgpack',
|
|||
author='Naoki INADA',
|
||||
author_email='songofacandy@gmail.com',
|
||||
version=version,
|
||||
cmdclass={'build_ext': build_ext},
|
||||
#cmdclass={'build_ext': build_ext},
|
||||
ext_modules=[msgpack_mod],
|
||||
packages=['msgpack'],
|
||||
description=desc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue