-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.19 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.19 KB
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
31
32
33
34
35
36
37
38
39
40
import sys
from pybind11 import get_cmake_dir, get_include
from pybind11.setup_helpers import Pybind11Extension, build_ext
from setuptools import setup, find_packages
__version__ = "0.2.5"
ext_modules = [
Pybind11Extension("_jsonata",
["wrapper.cpp", "duktape.cpp"],
include_dirs=[get_include(), "duktape-2.7.0/src/"],
define_macros = [('VERSION_INFO', __version__)],
language = 'c++'
),
]
setup(
name="jsonata",
version=__version__,
author="Rob J Meijer",
license='BSD',
readme = "README.md",
author_email="pibara@gmail.com",
url="https://github.com/pibara/jsonata-wrapper",
description="A simple Python wrapper for the JavaScript JSONata lib.",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Environment :: Other Environment'
],
long_description="",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
zip_safe=False,
python_requires=">=3.6",
packages=find_packages(),
)