From c0fe3cf82f19cb2aa9a0d72e81133541e9ccd1d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Fri, 27 Mar 2020 17:24:37 +0100
Subject: [PATCH] v1.1.2: bugfix release

---
 snakehouse/multibuild.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/snakehouse/multibuild.py b/snakehouse/multibuild.py
index 52d998e..1f75124 100644
--- a/snakehouse/multibuild.py
+++ b/snakehouse/multibuild.py
@@ -1,11 +1,15 @@
 import os
 import collections
 import typing as tp
+import logging
 import pkg_resources
 from satella.files import split
 from mako.template import Template
 from setuptools import Extension
 
+logger = logging.getLogger(__name__)
+
+
 CdefSection = collections.namedtuple('CdefSection', ('h_file_name', 'module_name'))
 GetDefinitionSection = collections.namedtuple('GetDefinitionSection', (
     'module_name', 'pyinit_name'
@@ -119,8 +123,10 @@ class Multibuild:
         self.alter_init()
 
     def for_cythonize(self, *args, **kwargs):
+        for_cythonize = [*self.files, os.path.join(self.bootstrap_directory, '__bootstrap__.pyx')]
+        logger.warning('For cythonize: %s', for_cythonize)
+
         return Extension(self.extension_name+".__bootstrap__",
-                         self.files + [os.path.join(self.bootstrap_directory,
-                                                    '__bootstrap__.pyx')],
+                         for_cythonize,
                          *args,
                          **kwargs)
-- 
GitLab