from setuptools   import setup, Extension
from Cython.Build import cythonize

setup(
    name         = 'hexagram',
    version      = '0.1',
    description  = 'A CAN bus playground',
    author       = 'XANTRONIX',
    author_email = 'contact@xantronix.com',
    package_dir  = {'': 'py'},
    packages     = [
        'hexagram'
    ],
    ext_modules  = cythonize(Extension("*", [
        "py/hexagram/*.pyx"
    ], include_dirs = [
        "./include",
        "/usr/include/cairo",
        "/usr/include/pycairo"
    ], library_dirs = [
        "./src"
    ], libraries = [
        "hexagram"
    ]), language_level = 3, gdb_debug = True)
)