]> granicus.if.org Git - python/commit
Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 13:18:36 +0000 (15:18 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 May 2011 13:18:36 +0000 (15:18 +0200)
commitcfd365b937a1edaf9da1ac61c2ca6be06fc42744
treeef91befec6370086cffe2ea6c27b4bcee9cca138
parent35de5ac44db5c42c792b71077520a6b3ef29b199
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.
Lib/distutils/command/build_scripts.py
Lib/packaging/command/build_scripts.py