summaryrefslogtreecommitdiff
path: root/distutils2/command/sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Branch merge?ric Araujo2011-11-201-4/+4
|\
| * Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-4/+4
| | | | | | | | | | | | | | | | | | | | 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.
* | Remove 'verbose' arguments, obsoleted by logging?ric Araujo2011-11-151-3/+2
|/
* Fix backport changesets part 3: backported modules.?ric Araujo2011-09-181-2/+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 the backport fixes.?ric Araujo2011-09-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-1/+1
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-57/+52
|
* Merge Kelsey?s edits with mine?ric Araujo2011-02-101-1/+1
|\
| * Fixing logging strings; improve lower-case consistencyKelsey Hightower2011-02-091-1/+1
| |
* | Use lazy form in logging calls, again.?ric Araujo2011-02-101-8/+4
|/ | | | | | | | | | | 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.
* merged + fixed tests : now README is to be added explicitely in extra_filesTarek Ziade2011-01-291-30/+1
|\
| * avoid inclusion of README or test/*.pyGodefroid Chapelle2011-01-281-29/+0
| |
* | Allow to have more than one file in description-file. Also check that those ↵Gael Pasgrimaud2011-01-281-1/+8
|/ | | | files are added to MANIFEST
* Save up a bit of memory thanks to dict.iter* and __iter__?ric Araujo2010-12-171-2/+1
|
* now distutils2 uses set_command to set its own commandsTarek Ziade2010-11-131-1/+2
|
* passing the distribution object as well.Tarek Ziade2010-11-071-1/+1
|
* added the manifest_builders optionTarek Ziade2010-11-071-2/+30
|
* finished the removal of the log moduleTarek Ziade2010-11-051-5/+5
|
* 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-15/+5
| | | | object has it as an attribute
* removed the __revision__ tag, that are specific to SVNTarek Ziade2010-10-041-1/+0
|
* removed setup.py from the list of files included by default, and make sure ↵Tarek Ziade2010-10-021-5/+7
| | | | the list builder dont die on a command
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+360