#!/usr/bin/env python3
"""Setup script for blokus_gym package."""

from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy as np

# Define extensions with proper include directories
extensions = [
    Extension(
        "blokus_gym.core.blokus_cython",
        ["blokus_gym/core/blokus_cython.pyx"],
        include_dirs=[np.get_include()],
        define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")],
    ),
]

setup(
    name="blokus_gym",
    ext_modules=cythonize(
        extensions,
        compiler_directives={"language_level": "3"},
        annotate=False,
    ),
    include_dirs=[np.get_include()],
)
