From cdf032cedec80861f9f788f1dfed8ad53b26fee2 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 7 Jan 2024 23:26:21 -0500 Subject: [PATCH] Some promising changes to setup.py --- setup.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 864b268..cf6e8c5 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, Extension from Cython.Build import cythonize setup( @@ -11,5 +11,10 @@ setup( packages = [ 'hexagram' ], - #ext_modules = cythonize("py/hexagram/*.pyx"), + ext_modules = cythonize( + Extension( + "*", ["py/hexagram/*.pyx"], + include_dirs = ["./include", "/usr/include/cairo"] + ), language_level = 3, + ) )