From 83778c3b1f88a66f389e5165f15147483e688c91 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 20 Sep 2020 15:32:53 +0300 Subject: [PATCH] Fix shebang --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ab343ad..1123641 100644 --- a/setup.py +++ b/setup.py @@ -156,7 +156,7 @@ class BuildCMakeExt(build_ext): cython_code = os.path.join(str(build_dir.absolute()),'mycython') with open(cython_code, mode="wt") as ff: - ff.write("#!/usr/bin/env sh -c '${PYTHON}'\n" + ff.write("#!/usr/bin/env -S 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)