summaryrefslogtreecommitdiff
path: root/distutils2/command/bdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Undo potentially confusing name change.?ric Araujo2011-11-121-1/+1
| | | | | | | | | | | This method was named reinitialize_command in distutils and accompanied by a comment suggesting to change it to get_reinitialized_command. Following that, I did the change for distutils2, but it proved confusing: The Distribution object has an internal cache of command objects, to make sure only one instance is ever used, and the name get_reinitialized_command could suggest that the object returned was independent of that cache, which it was not. I?m reverting the name change to make code clearer.
* Remove obsolete mentions of the compress program and .Z archives.?ric Araujo2011-09-191-2/+1
| | | | | | d2 uses the shutil.make_archive function (moved from distutils), which does not support compress. There is no test to check that ?bdist --format whatever? works, so this slipped by.
* Fix the backport fixes.?ric Araujo2011-09-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backports: - sysconfig is now always imported from our backports - when hashlib is not found, our backport is used instead of the md5 module (debatable; we could just drop hashlib) Version-dependent features: - PEP 370 features are only enabled for 2.6+ - the check for sys.dont_write_bytecode was fixed to use getattr with a default value instead of hasattr Idioms/syntax: - octal literals lost their extra 0 - misused try/except blocks have been changed back to try/finally (it?s legal in 2.4 too, it?s only try/except/finally that isn?t) - exception catching uses the regular 2.x idiom instead of sys.exc_info - file objects are closed within finally blocks (this causes much whitespace changes but actually makes diff with packaging easier) Renamed modules: - some missed renamings (_thread, Queue, isAlive, urllib.urlsplit, etc.) were fixed Other: - a few false positive replacements of ?packaging? by ?distutils2? in comments or docstrings were reverted - util.is_packaging regained its name - assorted whitespace/comment/import changes to match packaging
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-12/+17
|
* improved test coverage on command.bdistAndrew Francis2010-12-081-3/+3
|
* removed core.pyTarek Ziade2010-10-251-3/+1
|
* removed the __revision__ tag, that are specific to SVNTarek Ziade2010-10-041-1/+0
|
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+140