Some promising changes to setup.py
This commit is contained in:
parent
e0adf0b5ed
commit
cdf032cede
1 changed files with 7 additions and 2 deletions
9
setup.py
9
setup.py
|
@ -1,4 +1,4 @@
|
||||||
from setuptools import setup
|
from setuptools import setup, Extension
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -11,5 +11,10 @@ setup(
|
||||||
packages = [
|
packages = [
|
||||||
'hexagram'
|
'hexagram'
|
||||||
],
|
],
|
||||||
#ext_modules = cythonize("py/hexagram/*.pyx"),
|
ext_modules = cythonize(
|
||||||
|
Extension(
|
||||||
|
"*", ["py/hexagram/*.pyx"],
|
||||||
|
include_dirs = ["./include", "/usr/include/cairo"]
|
||||||
|
), language_level = 3,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue