DAMASK_EICMD/lib/damask/setup_corientation.py

16 lines
384 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
ext = [Extension("corientation", ["corientation.pyx"])]
setup(
name="corientation",
include_dirs=[np.get_include()],
cmdclass = {'build_ext': build_ext},
ext_modules=ext
)