from setuptools import setup, Extension

# 定义扩展模块
language_module = Extension(
    '_language',  # 模块名称
    sources=['language.c']  # C 源文件
)

# 配置 setup
setup(
    name='_language',
    version='1.0',
    description='A package to get the system language',
    ext_modules=[language_module]
)