blob: c5202ae3794781a9c594b231581ba4b5cbc1401e [file] [log] [blame]
#!/usr/bin/env python3
from setuptools import setup, Extension
extra_compile_args = [
"-std=c++11",
"-O3",
"-fPIC",
"-ggdb1",
"-pipe",
"-fomit-frame-pointer",
"-fstack-protector-strong",
]
setup(
ext_modules=[
Extension(
"pyjson5.pyjson5",
sources=["pyjson5.pyx"],
include_dirs=["src"],
extra_compile_args=extra_compile_args,
extra_link_args=extra_compile_args,
language="c++",
)
],
)