summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_command_sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge fixes for #13901, #11805, #13712 and other improvements?ric Araujo2012-02-051-1/+0
|\
| * Improve one test, remove a setuptoolism in another?ric Araujo2012-02-051-1/+0
| |
* | Branch merge?ric Araujo2011-11-201-39/+11
|\ \ | |/ |/|
| * Ye olde merge.?ric Araujo2011-11-121-42/+30
| |\ | | | | | | | | | | | | I broke test_mixin2to3 somehow; distutils2-default is okay and packaging too, so I don?t see an obvious reason right now, I?ll investigate later.
| * | Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-24/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This codebase is compatible with 3.1, 3.2 and 3.3. It was converted with 2to3 and a semi-automated diff/merge with packaging in 3.3 to fix some idioms. We?ve now come full circle from 2.x to 3.x to 2.x to 3.x again :) Starting from now, contributors can make patches for packaging (preferred, as the stdlib?s regrtest is very useful), distutils2 or distutils-python3, and we?ll make patches flow between versions.
* | | Move copies of stdlib test code from tests.__init__ to runtests.?ric Araujo2011-11-151-2/+9
| |/ |/| | | | | | | | | | | | | | | | | I deleted captured_stdout because its usage felt clumsy to me; better to use stdlib?s test.support.captured_stdout in packaging and just write out the code for d2. I checked that adding the import of d2.tests.unittest at the top level did not change the coverage accuracy (see comment in the source and the history of the file for more info).
* | Minor assorted cleanups.?ric Araujo2011-11-121-25/+22
| | | | | | | | | | | | | | - Remove __main__ blocks obsoleted by pysetup - Fix typo ?seperate? - Add one test that was promised but not written - Reorganize one file
* | Change signature of tests.support.LoggingCatcher.get_logs.?ric Araujo2011-11-121-12/+9
|/ | | | | | 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.
* Always use backported tarfile?ric Araujo2011-09-241-1/+1
|
* Remove display options (--name, etc.) from the Distribution class.?ric Araujo2011-09-191-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' or 'home-page' to be recognized as a valid metadata field and passed down to the dist.metadata object.
* Fix backport changesets part 3: backported modules.?ric Araujo2011-09-181-1/+2
| | | | | | | | | | shutil, sysconfig, tarfile and their tests have been updated to the latest 3.2 version (except for test_tarfile which is not backported yet) and edited to be compatible with 2.4. Duplicates added in util during the Great Update have been deleted, as well as functions I removed recently in packaging. Unneeded modules in _backport have been deleted or moved to d2.compat.
* Fix backport changesets part 2: tests?ric Araujo2011-09-181-16/+28
|
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-16/+22
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-105/+72
|
* Merging the resource branch !Alexis Metaireau2011-02-131-5/+3
|\
| * Use lazy form in logging calls, again.?ric Araujo2011-02-101-5/+3
| | | | | | | | | | | | | | | | | | | | | | Logging calls have the signature (msg, *args, **kwargs) so that the %-formatting can be delayed until it is needed. Logger objects also have an isEnabledFor method that can be used to isolate expensive code. Next steps: use only one of d2.logger methods or logging module functions; use a proper handler in our test machinery instead of monkey-patching; remove cmd.warn and cmd.announce and use logging instead. TODOs have been added in the modules and on the wiki.
* | No file that does not exists can be present in distribution.data_files.FELD Boris2011-01-301-1/+0
| | | | | | | | Correct bugs in get_inputs in install_data.
* | Merge with upstream and update some unittest to the new data-files ↵FELD Boris2011-01-291-5/+5
|/ | | | implementation
* avoid inclusion of README or test/*.pyGodefroid Chapelle2011-01-281-6/+4
|
* fixed #11038. Add strict parameter to metadata.check() and use the strict ↵Gael Pasgrimaud2011-01-281-1/+1
| | | | mode in check command
* Don?t use a deprecated name?ric Araujo2010-12-091-2/+2
|
* passing the distribution object as well.Tarek Ziade2010-11-071-1/+1
|
* added the manifest_builders optionTarek Ziade2010-11-071-0/+11
|
* finished the removal of the log moduleTarek Ziade2010-11-051-3/+3
|
* removed core.pyTarek Ziade2010-10-251-1/+1
|
* now sdist uses the extra_files option from setup.cfg, and the Distribution ↵Tarek Ziade2010-10-171-1/+15
| | | | object has it as an attribute
* Rename command's tests filenames to test_command_*, and install_tools.py to ↵Alexis Metaireau2010-10-041-0/+422
install.py The goal is to avoid overlaps between commands and scripts names (for instance the "install" script and the "install" command)