from setuptools import setup, Extension

# Simple extension definition without NumPy dependencies for C compilation
extension = Extension(
    'filter_short_groups',
    sources=['filter_short_groups.c'],
    extra_compile_args=['-O3'],  # Just use basic optimization
)

setup(
    name='filter_short_groups',
    version='1.0',
    description='Optimized C implementation of filter_short_groups',
    ext_modules=[extension],
    install_requires=['numpy'],  # Still require numpy for runtime
)
