python setup.py build fails on Windows due to the following hardcoded /bib/sh path in setup.py, line 120:
def _run_shell_command(cmd): output = subprocess.Popen(["/bin/sh", "-c", cmd], stdout=subprocess.PIPE)
It works fine with msysgit's sh.exe, whose default path is:
"%ProgramFiles% (x86)\Git\bin\sh.exe"
A possible solution consists in replacing "/bin/sh" with "sh" (at least if os.name == 'nt')
python setup.py build fails on Windows due to the following hardcoded /bib/sh path in setup.py, line 120:
def _run_shell_ command( cmd): Popen([ "/bin/sh" , "-c", cmd],
stdout= subprocess. PIPE)
output = subprocess.
It works fine with msysgit's sh.exe, whose default path is:
"%ProgramFiles% (x86)\Git\ bin\sh. exe"
A possible solution consists in replacing "/bin/sh" with "sh" (at least if os.name == 'nt')