Skip to content

Commit

Permalink
fix cython setup
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Jun 8, 2021
1 parent be98d42 commit 791a14f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cython/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy as np

lib_path = realpath(join(dirname(__file__), "../lib"))
file_path = realpath(join(dirname(__file__), "smelib.pyx"))
Expand All @@ -12,6 +13,7 @@
libraries=["gfortran", "sme"],
library_dirs=[lib_path],
runtime_library_dirs=[lib_path],
include_dirs=[np.get_include()],
)
setup(
name="smelib",
Expand Down

0 comments on commit 791a14f

Please sign in to comment.