diff --git a/README.md b/README.md index e9a526d77941deec39a8b190f50ad48bac34fdc6..3216a314d9b1097d568f9ecf91ba431ecf046cee 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 989aa56adf3f60a59486206de5c06c443bbf5192..0842c8be353280650e054ef7cd3b7c2f452ff532 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: