#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Std lib imports
import glob
import os

# Non-std lib imports
from setuptools import Extension, setup


# Define how to build the extension module.
# All other data is in the setup.cfg file.
setup(
    name="fastnumbers",
    version="3.0.0",
    python_requires=">=3.5",
    ext_modules=[
        Extension(
            "fastnumbers",
            sorted(glob.glob("src/*.c")),
            include_dirs=[os.path.abspath(os.path.join("include"))],
            extra_compile_args=[],
        )
    ],
)
