Some promising changes to setup.py

This commit is contained in:
XANTRONIX Development 2024-01-07 23:26:21 -05:00
parent e0adf0b5ed
commit cdf032cede

View file

@ -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,
)
)