from skbuild import setup
from setuptools import find_packages
import pybind11

setup(
    name="cgal_pycad",
    version="0.1.0",
    description="A Python library for exact 3D geometric modeling using CGAL",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    author="Antigravity",
    author_email="example@example.com",
    url="https://github.com/ctrichet/cgal_pycad",
    license="MIT",
    packages=find_packages(),
    cmake_args=[f"-Dpybind11_DIR={pybind11.get_cmake_dir()}"],
    cmake_install_dir="cgal_pycad",  # Install C++ module into the package directory
    python_requires=">=3.8",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: C++",
    ],
    install_requires=[
        # No runtime python dependencies besides standard lib for now
    ],
)
