blob: dbc2e9614be40056ec6f43cf1c89c8ee3d4c2b60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/env python
import os
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
jq_extension = Extension(
"jq",
sources=["jq.pyx"],
include_dirs=["../jq/"],
libraries=["jq"],
library_dirs=["../jq/"],
)
setup(
name='jq',
version='0.1.0',
description='jq is a lightweight and flexible command-line JSON processor.',
long_description=read("README"),
author='Michael Williamson',
url='http://github.com/mwilliamson/jq.py',
cmdclass={"build_ext": build_ext},
ext_modules = [jq_extension]
)
|