File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 2020include_dirs = [str (source_files_directory .parent .joinpath ('include' )),
2121 str (source_files_directory )]
2222### Build dxfeed c library
23- # http://svn.python.org/projects/python/branches/pep-0384/Lib/distutils/command/build_clib.py
24- dxfeed_c_lib_args = dict () # args in build_libraries function by link above
23+ dxfeed_c_lib_args = dict ()
2524if platform .system () == 'Windows' :
2625 source_files_paths .remove (str (source_files_directory .joinpath ('Linux.c' )))
2726 libs .append ('ws2_32' )
2827else :
2928 source_files_paths .remove (str (source_files_directory .joinpath ('Win32.c' )))
30- dxfeed_c_lib_args .update ({'sources' : source_files_paths })
29+ dxfeed_c_lib_args .update ({'sources' : source_files_paths ,
30+ 'include_dirs' : include_dirs })
3131
3232if platform .system () == 'Darwin' :
33- dxfeed_c_lib_args .update ({'macros' : [('MACOSX' , 'TRUE' )],
34- 'include_dirs' : include_dirs })
35- # Separate dxfeed c api library
33+ dxfeed_c_lib_args .update ({'macros' : [('MACOSX' , 'TRUE' )]})
34+
3635dxfeed_c = ('dxfeed_c' , dxfeed_c_lib_args )
3736
3837extensions = [Extension ('dxfeed.core.utils.helpers' , ['dxfeed/core/utils/helpers.' + ext ],
You can’t perform that action at this time.
0 commit comments