-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
36 lines (33 loc) · 1.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools.command.build_ext import build_ext
from setuptools import setup, Extension, find_packages
import numpy as np
setup(packages=find_packages(),
cmdclass={'build_ext': build_ext},
ext_modules=[
Extension('celer.lasso_fast',
sources=['celer/lasso_fast.pyx'],
language='c++',
include_dirs=[np.get_include()],
extra_compile_args=["-O3"]),
Extension('celer.cython_utils',
sources=['celer/cython_utils.pyx'],
language='c++',
include_dirs=[np.get_include()],
extra_compile_args=["-O3"]),
Extension('celer.PN_logreg',
sources=['celer/PN_logreg.pyx'],
language='c++',
include_dirs=[np.get_include()],
extra_compile_args=["-O3"]),
Extension('celer.multitask_fast',
sources=['celer/multitask_fast.pyx'],
language='c++',
include_dirs=[np.get_include()],
extra_compile_args=["-O3"]),
Extension('celer.group_fast',
sources=['celer/group_fast.pyx'],
language='c++',
include_dirs=[np.get_include()],
extra_compile_args=["-O3"]),
],
)