from setuptools import setup, Extension

# Direct extension definition with no NumPy dependencies
extension = Extension(
    'filter_short_groups',
    sources=['simplified_filter_short_groups.c'],
    extra_compile_args=['-O3'],  # Basic optimization
)

setup(
    name='filter_short_groups',
    version='1.0',
    description='Optimized C implementation of filter_short_groups',
    ext_modules=[extension],
)
