summaryrefslogtreecommitdiff
path: root/distutils2/command/install_dist.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge fixes for #13462 and others from default?ric Araujo2012-02-091-1/+1
|\
| * Use sys.version_info instead of sys.version.?ric Araujo2012-02-091-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 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 d2.markers). Other remaining uses are found in d2.compiler and could be replaced by the platform module (which also parses sys.version, but then it wouldn?t be my fault :)
| * Remove unused names?ric Araujo2011-11-201-1/+0
| |
* | Ye olde merge.?ric Araujo2011-11-121-3/+1
|\ \ | |/ | | | | | | 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.
| * Use more usual name for one option of install_distinfo?ric Araujo2011-11-121-3/+1
| |
* | Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-37/+19
|/ | | | | | | | | | 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.
* Fix HAS_USER_SITE in install command too?ric Araujo2011-09-221-2/+5
|
* Remove two unneeded attributes?ric Araujo2011-09-211-1/+0
|
* Fix the backport fixes.?ric Araujo2011-09-181-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes to actually use the backports.Jeremy Kloth2011-09-121-3/+3
|
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-1/+1
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-39/+35
|
* Merging the resource branch !Alexis Metaireau2011-02-131-1/+1
|\
| * Use lazy form in logging calls, again.?ric Araujo2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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.
* | renames datafiles in ressources for consistency with setup.cfg sectionPierre-Yves David2011-02-021-3/+3
| |
* | Distutils 2 now install datafiles in the right place (indicated by sysconfig).FELD Boris2011-01-281-0/+4
|/ | | | | | Data files are read from config file. Data files are installed to the expanded category file. Data files list is written in DATAFILES file in .dist-info dir.
* Save up a bit of memory thanks to dict.iter* and __iter__?ric Araujo2010-12-171-1/+1
|
* A touch of PEP 8 and pyflaking?ric Araujo2010-11-161-1/+0
|
* now sub_commands can be configure in the .cfg filesTarek Ziade2010-11-071-0/+1
|
* finished the removal of the log moduleTarek Ziade2010-11-051-4/+4
|
* removed core.pyTarek Ziade2010-10-251-1/+1
|
* Rename the install command from "install" to "instal_dist", to avoid anyAlexis Metaireau2010-10-171-0/+625
collision with the distutils2 installer (working with dependencies).