from glob import glob
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension, build_ext

ext_modules = [
    Pybind11Extension(
    "_ruptura",
    sources=glob("src/*.cpp"),
    extra_compile_args=["-std=c++17", "-DPYBUILD=1"]
    )
]

setup(
    ext_modules=ext_modules,
    zip_safe=False,
    packages=["ruptura"],
    package_dir={"ruptura":"src"}
)