2016-05-11 14:31:39 +05:30
|
|
|
#!/usr/bin/env python2
|
2015-07-30 00:53:06 +05:30
|
|
|
# -*- 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
|
|
|
|
|
2015-08-25 23:36:36 +05:30
|
|
|
ext = [Extension("corientation", ["corientation.pyx"],
|
|
|
|
include_dirs=[np.get_include()])]
|
2015-07-30 00:53:06 +05:30
|
|
|
|
|
|
|
setup(
|
|
|
|
name="corientation",
|
|
|
|
include_dirs=[np.get_include()],
|
|
|
|
cmdclass = {'build_ext': build_ext},
|
|
|
|
ext_modules=ext
|
|
|
|
)
|