(root=os.path.join('..', '..', 'src'), extensions=['.cpp'], skip_files=None)
| 416 | # setup_kwargs['cmdclass'] = dict(build_ext=get_shared_ptr_setter(build_ext)) |
| 417 | |
| 418 | def find_cpp_sources(root=os.path.join('..', '..', 'src'), extensions=['.cpp'], skip_files=None): |
| 419 | file_listing = [] |
| 420 | for path, dirs, files in os.walk(root): |
| 421 | for file in files: |
| 422 | n, ext = os.path.splitext(file) |
| 423 | fname = os.path.relpath(os.path.join(path, file)) |
| 424 | if skip_files is not None and fname in skip_files: continue |
| 425 | if ext in extensions: |
| 426 | file_listing.append(fname) |
| 427 | return file_listing |
| 428 | |
| 429 | # Set variables for C++ sources and include directories |
| 430 | sources = find_cpp_sources(root=os.path.join(CProot, 'src'), extensions=['.cpp']) |
no test coverage detected