From f09b35c4905c67a54493486dc950e80496d95002 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 20 Sep 2020 15:11:05 +0300 Subject: [PATCH] Remove inline formatting --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2e8081e..ab343ad 100644 --- a/setup.py +++ b/setup.py @@ -156,9 +156,9 @@ class BuildCMakeExt(build_ext): cython_code = os.path.join(str(build_dir.absolute()),'mycython') with open(cython_code, mode="wt") as ff: - ff.write(f"#!/usr/bin/env sh -c '${PYTHON}'\n" - "from Cython.Compiler.Main import setuptools_main\n" - "setuptools_main()") + ff.write("#!/usr/bin/env sh -c '${PYTHON}'\n" + "from Cython.Compiler.Main import setuptools_main\n" + "setuptools_main()") os.chmod(cython_code, stat.S_IXUSR|stat.S_IWUSR|stat.S_IRUSR|stat.S_IRGRP) # Now that the necessary directories are created, build