Commit Graph

10 Commits

Author SHA1 Message Date
Éric Araujo df8ef02488 Style change in packaging: use “not in” over “not x in”.
Such tests are IMO easier to read if both operators are grouped.
2011-06-08 04:47:13 +02:00
Éric Araujo 4559383664 Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
2011-06-04 22:37:57 +02:00
Éric Araujo 8f66f61e55 Clean up packaging.create and add TODO notes for future cleanups 2011-06-04 22:36:40 +02:00
Éric Araujo 35a4d01a92 Improve a few docstrings in packaging.
Also beautify import lists.  Having them grouped by lenght makes it slightly
easier to look for a module.
2011-06-04 22:24:59 +02:00
Tarek Ziade 2db5674a95 we want to generate /-separated paths setup.cfg files even under win32 2011-05-21 14:24:14 +02:00
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