#!/usr/bin/env python3
"""
File:           setup.py
Description:    This file compiles the depth_first_bnb C++ files into a Python
                    modules.
"""

from setuptools import setup, Extension
import os


path = os.path.dirname(__file__)

depth_first_bnb_module = Extension("_depth_first_bnb",
                                   sources=[f"{path}/../../protein/protein_wrap.cxx",
                                            f"{path}/../../protein/protein.cpp",
                                            f"{path}/depth_first_bnb_wrap.cxx",
                                            f"{path}/depth_first_bnb.cpp"],
                                   )

setup(name="depth_first_bnb",
      version="0.1",
      author="okkevaneck",
      description="C++ core compiled into a Python module.",
      ext_modules=[depth_first_bnb_module],
      py_modules=["depth_first_bnb"],
      license="LICENSE",
      )
