summaryrefslogtreecommitdiff
path: root/Lib/packaging/command/bdist_wininst.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-345/+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
* Use sys.version_info instead of sys.version in packaging.Éric Araujo2012-02-101-1/+1
| | | | | | | | | | | | | The contents of this attribute are an implementation detail, as documented for #9442, so we should not parse it, to support non-CPython VMs with distutils2 in the future. Unfortunately, one use comes directly from PEP 345, so an edit will have to be agreed before fixing the code (see comment in p7g.markers). Other remaining uses are found in p7g.compiler and could be replaced by the platform module (which also parses sys.version, but then it wouldn’t be my fault :)
* Undo potentially confusing name change in packaging.Éric Araujo2011-11-061-3/+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.
* Fix usage of bytes in packaging's bdist_wininst.Éric Araujo2011-09-101-7/+8
| | | | | | This is copied from the namesake distutils command; there is no automated test, so buildbots won’t call for my head this time, but it should be okay as Python 3 users have tested the distutils command.
* Fix usage of dry-run in packaging bdist_wininst and install_distinfo.Éric Araujo2011-09-101-3/+2
| | | | | | | In dry-run mode, packaging commands should log the same info as in real operation and should collect the same files in self.outputs, so that users can run a command in verbose and dry-run mode to see exactly what operations will be done in the real run.
* Make bdist_* commands respect --skip-build passed to bdist (#10946).Éric Araujo2011-08-301-1/+5
| | | | | | There was already a test for this, but it was complicated and had a subtle bug (custom command objects need to be put in dist.command_obj so that other command objects may see them) that rendered it moot.
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+342