Tarek Ziade
2bc55e482e
Issue 10126 - backported distutils fix for the enable-share mode into packaging
2011-05-22 21:21:44 +02:00
Tarek Ziade
76ad4f0ec9
fixed the export symbols for the win32 linker
2011-05-21 21:48:04 +02:00
Tarek Ziade
be20be1345
use the same line terminator everywhere
2011-05-21 19:45:48 +02:00
Victor Stinner
4c9706bd27
package: replace open(fn, 'w').close() by open(fn, 'wb').close()
...
We don't need to open the files in text mode just to create them (or update
their modification time).
2011-05-19 15:52:59 +02:00
Victor Stinner
21a9c748aa
packaging: use with open() instead of try/finally: close
2011-05-19 15:51:27 +02:00
Victor Stinner
cfd365b937
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.
2011-05-19 15:18:36 +02:00
Victor Stinner
35de5ac44d
packaging: don't use locale encoding to compute MD5 checksums
...
Open the file in binary mode or use UTF-8 encoding.
2011-05-19 15:09:57 +02:00
Tarek Ziade
1231a4e097
initial import of the packaging package in the standard library
2011-05-19 13:07:25 +02:00