mirror of
				https://github.com/msgpack/msgpack-python.git
				synced 2025-10-30 17:10:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			907 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			907 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from distutils.core import setup, Extension
 | |
| import os
 | |
| 
 | |
| version = '0.0.1'
 | |
| 
 | |
| PACKAGE_ROOT = os.getcwdu()
 | |
| INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
 | |
| msgpack_mod = Extension('msgpack',
 | |
|                         sources=['msgpack.cpp'],
 | |
|                         include_dirs=[INCLUDE_PATH])
 | |
| 
 | |
| desc = 'MessagePack serializer/desirializer.'
 | |
| long_desc = desc + """
 | |
| 
 | |
| Python binding of MessagePack_.
 | |
| 
 | |
| This package is under development.
 | |
| 
 | |
| .. _MessagePack: http://msgpack.sourceforge.jp/
 | |
| 
 | |
| What's MessagePack? (from http://msgpack.sourceforge.jp/)
 | |
| 
 | |
|  MessagePack is a binary-based efficient data interchange format that is
 | |
|  focused on high performance. It is like JSON, but very fast and small.
 | |
| """
 | |
| 
 | |
| setup(name='msgpack',
 | |
|       author='Naoki INADA',
 | |
|       author_email='songofacandy@gmail.com',
 | |
|       version=version,
 | |
|       ext_modules=[msgpack_mod],
 | |
|       description=desc,
 | |
|       long_description=long_desc,
 | |
|       )
 | 
