from distutils.core import setup, Extension
import os

dir_path = os.path.dirname(os.path.realpath(__file__))

sources = [os.path.join(dir_path, source) for source in [
    "fast_intersect.cc"
]]

fast_intersect = Extension("fast_intersect", sources=sources)

setup(
    name="fast_intersect",
    version="0.1",
    license="MIT",
    description="Fast intersection of sets",
    author="Lucas Marandat",
    author_email="lucas.mrdt@gmail.com",
    url="https://github.com/lucasmrdt/fast_intersect",
    download_url="https://github.com/lucasmrdt/fast_intersect/archive/refs/tags/v_0.1.tar.gz",
    keywords=["set", "intersection", "fast"],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Build Tools",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
    ],
    ext_modules=[fast_intersect],
)
