-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
63 lines (54 loc) · 1.21 KB
/
setup.py
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# GMTO Corp.
#
from distutils.core import setup, Extension
from os import environ as env
version = '0.1'
extra_compile_args=[
'-Wall',
'-Wextra',
'-pedantic',
'--std=c++11',
'-pthread',
]
extra_link_args = [
'-pthread'
]
define_macros = [
]
undef_macros = [
'NDEBUG',
]
include_dirs=[]
include_dirs.extend([
'/usr/include/jsoncpp',
'/home/mdcb/work/webrepos/pybind11/include',
])
setup(name='python3-jsoncpp11',
version=version,
description='jsoncpp for python3',
long_description='jsoncpp for python3.',
author='Matthieu Bec',
author_email='[email protected]',
url='https://github.com/mdcb/emf',
license='GPL',
ext_modules=[
Extension(
name='jsoncpp11',
sources = [
'extension.cpp',
],
include_dirs=include_dirs,
undef_macros=undef_macros,
define_macros=define_macros,
library_dirs=[
],
libraries = [
'jsoncpp',
],
#runtime_library_dirs=[], # XXX rpath bad for rpm
extra_compile_args = extra_compile_args,
extra_link_args = extra_link_args,
),
],
)