commit | cfd365b937a1edaf9da1ac61c2ca6be06fc42744 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 19 15:18:36 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 19 15:18:36 2011 +0200 |
tree | ef91befec6370086cffe2ea6c27b4bcee9cca138 | |
parent | 35de5ac44db5c42c792b71077520a6b3ef29b199 [diff] |
Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging build_scripts command of packaging now handles correctly non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.