Commit Graph

5 Commits

Author SHA1 Message Date
Victor Stinner 9cf6d13141 Issue #12112: fix the encoding of setup.py in the packaging module
* read: use tokenize.detect_encoding()
 * write: use 'utf-8'
2011-05-19 21:42:47 +02:00
Tarek Ziade 2db2d3beeb removed unused method in packaging.create 2011-05-19 19:07:06 +02:00
Victor Stinner dd13dd4bcc Issue #12112: packaging reads and writes setup.cfg using UTF-8 2011-05-19 18:45:32 +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