summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-394/+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
* Improve one packaging test, remove a setuptoolism in anotherÉric Araujo2012-02-041-1/+0
|
* Remove unused code from packaging.tests.__init__Éric Araujo2011-11-151-2/+4
|
* Minor tweak to packaging tests.Éric Araujo2011-11-061-1/+1
| | | | | | | | | | When an option is changed on a command object, calling ensure_finalized for a second time will not run finalize_options again, because ensure_finalized is a no-op the second time. By resetting the finalized attribute, we can be sure that whatever computation takes place in finalize_options will happen again. (In test_command_clean, I removed two lines that were a no-op.)
* Minor code reorganization in one packaging test fileÉric Araujo2011-11-021-27/+25
|
* Change signature of packaging.tests.support.LoggingCatcher.get_logs.Éric Araujo2011-10-191-8/+4
| | | | | | I need this for some tests, and it makes code clearer. This commit also changes some assertEqual calls to use (actual, expected) order and fix some pyflakes warnings.
* Remove display options (--name, etc.) from the Distribution class.Éric Araujo2011-08-291-1/+1
| | | | | | | | | | | | These options were used to implement “setup.py --name”, “setup.py --version”, etc. which are now handled by the pysetup metadata action or direct parsing of the setup.cfg file. As a side effect, the Distribution class no longer accepts a 'url' key in its *attrs* argument: it has to be 'home-page' to be recognized as a valid metadata field and passed down to the dist.metadata object. I cleaned up some comments, docstrings and code along the way.
* Packaging cleanup: remove use of script_name where obsoleteÉric Araujo2011-06-081-10/+0
|
* Fix sdist to always include setup.cfg (#11092), to comply with the specÉric Araujo2011-06-061-5/+8
|
* Fix commentÉric Araujo2011-06-061-1/+1
|
* Re-apply distutils2 changes lost before the merge of packaging.Éric Araujo2011-05-311-5/+4
| | | | | wrap_text was removed in favor of standard textwrap but the removal of the function was lost in a bad merge; a change in sdist mysteriously disappeared.
* Skip tests that require zlib in the packaging tests. Also add a ↵Ezio Melotti2011-05-191-11/+11
| | | | requires_zlib decorator to test.support.
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+407