From dfc578f76533bc3de36ad6d1b4db36bb03fbb40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Mon, 16 Mar 2020 00:05:13 +0100 Subject: [PATCH] 0.5 - prints removed --- cython_multibuild/__init__.py | 2 +- cython_multibuild/multibuild.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/cython_multibuild/__init__.py b/cython_multibuild/__init__.py index 17ada25..c36d320 100644 --- a/cython_multibuild/__init__.py +++ b/cython_multibuild/__init__.py @@ -1,4 +1,4 @@ from .build import build from .multibuild import Multibuild -__version__ = '0.4' +__version__ = '0.5' diff --git a/cython_multibuild/multibuild.py b/cython_multibuild/multibuild.py index ab0c0fd..5e00ce0 100644 --- a/cython_multibuild/multibuild.py +++ b/cython_multibuild/multibuild.py @@ -12,7 +12,6 @@ class Multibuild: def __init__(self, extension_name: str, files: tp.Iterable[str]): self.files = list([file for file in files if not file.endswith('__bootstrap__.pyx')]) file_name_set = set(os.path.split(file)[1] for file in self.files) - print(self.files) if len(self.files) != len(file_name_set): raise ValueError('Two modules with the same name cannot appear together in a single ' 'Multibuild') @@ -111,11 +110,9 @@ cdef class CythonPackageLoader: def create_module(self, spec): if spec.name != self.name: raise ImportError() - print('Before FromDefAndSpec') return PyModule_FromDefAndSpec(self.definition, spec) def exec_module(self, module): - print('Before execmodule') PyModule_ExecDef(module, self.definition) @@ -140,7 +137,6 @@ def bootstrap_cython_submodules(): return ''.join(bootstrap_contents) def write_bootstrap_file(self): - print('Writing to ', os.path.join(self.bootstrap_directory, '__bootstrap__.pyx')) with open(os.path.join(self.bootstrap_directory, '__bootstrap__.pyx'), 'w') as f_out: f_out.write(self.generate_bootstrap()) -- GitLab