summaryrefslogtreecommitdiff
path: root/Lib/packaging/command/cmd.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-461/+0
| | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* Remove obsolete verbose arguments from packaging.Éric Araujo2011-11-151-7/+11
| | | | | | Logging replaces verbose arguments. I haven’t fixed the example in Doc/install/install.rst because I have major fixes and changes to the oc under way and will fix or remove that example as part of that task.
* Clean up byte-compilation code in packaging (#11254 followup).Éric Araujo2011-11-141-2/+18
| | | | | | | | | | | | | | | | | - Don't use keyword arguments for debug_override; I find it more readable to have a comment explaining that True makes pyc and False pyo than to write out the non-obvious (when you haven’t read the doc) argument name - Move duplicate code from build_py and install_lib into cmd - Remove obsolete verbose argument of util.byte_compile - Remove obsolete passing of -O/-OO to the Python process spawned by util.byte_compile (I’ll remove the whole spawning later, after I write more tests to check the contents of pyc and pyo files; now that byte_compile does not depend on the value of __debug__ in the calling Python, we can call py_compile or compileall directly)
* Undo potentially confusing name change in packaging.Éric Araujo2011-11-061-2/+2
| | | | | | | | | | | 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.
* Make TypeError message from Command.__init__ more usefulÉric Araujo2011-07-291-1/+2
|
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+440