-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·27 lines (20 loc) · 775 Bytes
/
setup.py
File metadata and controls
executable file
·27 lines (20 loc) · 775 Bytes
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
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 01 18:40:32 2017
@author: sjurkatis
"""
try:
from setuptools import setup
from setuptools import Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
#libraries = ['msvcr90.dll']
ext_modules = [Extension('tradeclassification_c',
['tradeclassification_c.pyx'],
include_dirs = [numpy.get_include()])]
setup(cmdclass = {'build_ext': build_ext}, ext_modules = ext_modules)
#from Cython.Build import cythonize
#setup(ext_modules = cythonize('c_get_inds.pyx' , include_dirs = [numpy.get_include()]))