From caf079979643e281fe4c2a80548c4783c75be2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Mon, 12 Aug 2024 22:39:20 +0200 Subject: [PATCH] build fix --- README.md | 2 +- snakehouse/bootstrap.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e9a526d..3216a31 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Docs are [here](https://smokserwis.docs.smok.co/snakehouse. Since for now we've lost our PyPI access, please install the packages in a following way: ``` -pip install git+https://github.com/smok-serwis/snakehouse.git +pip wheel --extra-index-url https://www.piwheels.org/simple snakehouse ``` The software works all the way from Python 3.5 to Python 3.12. diff --git a/snakehouse/bootstrap.py b/snakehouse/bootstrap.py index 989aa56..0842c8b 100644 --- a/snakehouse/bootstrap.py +++ b/snakehouse/bootstrap.py @@ -24,8 +24,8 @@ cdef extern from "{cdef_section.h_file_name}": if name == "{getdef_section.module_name}": return PyInit_{getdef_section.coded_module_name}()""", getdef_section=getdef_section) else: - output.append_many(f""" elif name == "{getdef_section.module_name}": - return PyInit_{getdef_section.coded_module_name}()""", getdef_section=getdef_section) + output.append(""" elif name == "{getdef_section.module_name}":) + return PyInit_{getdef_section.coded_module_name}()""", getdef_section=getdef_section) output.append_many(""" cdef class CythonPackageLoader: -- GitLab