Skip to content
Snippets Groups Projects
Commit 50bd60df authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fixed logging

parent 188ddb05
No related branches found
No related tags found
No related merge requests found
# v1.5
* _TBA_
* fixed logging
# v1.4
......
......@@ -3,4 +3,4 @@ from .multibuild import Multibuild
from .faster_builds import monkey_patch_parallel_compilation
from .requirements import read_requirements_txt, find_c, find_pyx_and_c, find_pyx
__version__ = '1.5a1'
__version__ = '1.5a2'
......@@ -30,5 +30,4 @@ def build(extensions: tp.List[MultiBuildType], *args, nthreads=None, **kwargs):
values = cythonize(returns, *args, **kwargs)
for multi_build in multi_builds:
multi_build.do_after_cython()
logger.warning(multi_build.module_name_to_loader_function)
return values
......@@ -60,13 +60,13 @@ class Multibuild:
dont_snakehouse: bool = False,
**kwargs):
# sanitize path separators so that Linux-style paths are supported on Windows
logger.warning('Building extension %s with files %s', extension_name, files)
files = list(files)
self.dont_snakehouse = dont_snakehouse
self.kwargs = kwargs
if files:
files = [os.path.join(*split(file)) for file in files]
self.files = list([file for file in files if not file.endswith('__bootstrap__.pyx')])
logger.warning(str(self.files))
self.pyx_files = [file for file in self.files if file.endswith('.pyx')]
self.c_files = [file for file in self.files if file.endswith('.c') or file.endswith('.cpp')]
else:
......@@ -93,7 +93,6 @@ class Multibuild:
def generate_header_files(self):
for filename in self.pyx_files:
path, name, cmod_name_path, module_name, coded_module_name, complete_module_name = self.transform_module_name(filename)
logger.warning('Generating header file for %s' % (filename, ))
if not name.endswith('.pyx'):
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment