From ce0712f73b03abf2ce141e30cf4a3e22b00273f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Wed, 21 Aug 2024 13:32:58 +0200 Subject: [PATCH] add pages --- CHANGELOG.md | 4 ++++ setup.cfg | 2 +- snakehouse/multibuild.py | 10 ---------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 478afb6..7936398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.0.1 + +* _TBA_ + # v2.0 * got rid of the Mako dependency diff --git a/setup.cfg b/setup.cfg index 36078fd..373da7c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ [metadata] name = snakehouse keywords = cython, extension, multiple, pyx -version = 2.0 +version = 2.0.1a1 long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8 license_files = LICENSE diff --git a/snakehouse/multibuild.py b/snakehouse/multibuild.py index 6036d3a..9981003 100644 --- a/snakehouse/multibuild.py +++ b/snakehouse/multibuild.py @@ -141,16 +141,6 @@ class Multibuild: except BreakException: pass - def is_h_file_ok(self, path: str) -> bool: - if not os.path.exists(path): - return False - - with open(path, 'r', encoding='utf-8') as f_in: - data = f_in.read() - if '#define SNAKEHOUSE_LEAVE_ME_ALONE' in data: - return True - return False - 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) -- GitLab