File: setup.py

package info (click to toggle)
libjsonparser 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,012 kB
  • sloc: ansic: 1,139; python: 68; makefile: 62; sh: 15
file content (14 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import sys
from distutils.core import setup
from Cython.Distutils.extension import Extension
from Cython.Distutils import build_ext

ext_modules = []
ext_modules.append(Extension('jsonparser', 
    ['./jsonparser.pyx'], language = 'c++'))

setup(
    name = 'json-parser python wrapper',
    cmdclass = {'build_ext' : build_ext},
    ext_modules = ext_modules
)