summaryrefslogtreecommitdiff
path: root/distutils2/install.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge default?ric Araujo2012-05-211-14/+18
|\
| * Fix minor whitespace, syntax and idiom nits?ric Araujo2012-05-161-5/+6
| |
| * Fix incorrect docstring?ric Araujo2012-05-121-1/+3
| |
| * #13166: Implement __str__ on Distribution and EggInfoDistribution, use for ↵Guillaume Pratte2012-04-211-1/+1
| | | | | | | | pysetup list, pysetup graph and installation log
| * #14270: Fixes to add dest_dir params working when using install_from_infosMathieu Leduc-Hamel2012-04-211-9/+9
| |
| * fixed a test mock issue (#14268)Tarek Ziade2012-03-121-1/+2
| |
* | Ye olde merge.?ric Araujo2011-11-121-9/+0
|\ \ | |/ | | | | | | 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.
| * Minor assorted cleanups.?ric Araujo2011-11-121-9/+0
| | | | | | | | | | | | | | - Remove __main__ blocks obsoleted by pysetup - Fix typo ?seperate? - Add one test that was promised but not written - Reorganize one file
* | Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-12/+9
|/ | | | | | | | | | 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.
* A few changes to match packaging?ric Araujo2011-09-191-3/+2
|
* 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 the backport fixes.?ric Araujo2011-09-181-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+4
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-135/+252
|
* Move installation exceptions from distutils2.install to distutils2.errors ↵Kelsey Hightower2011-02-131-10/+3
| | | | and pep8 clean up on both modules
* Merge Kelsey?s edits with mine?ric Araujo2011-02-101-12/+12
|\
| * Fixing logging strings; improve lower-case consistencyKelsey Hightower2011-02-091-11/+11
| |
* | Use lazy form in logging calls, again.?ric Araujo2011-02-101-11/+13
|/ | | | | | | | | | | 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.
* make sure the dir exists in that caseTarek Ziade2011-01-301-1/+2
|
* hooked the remove code - tests w/ data tree coming upTarek Ziade2011-01-301-15/+42
|
* cleaned up the install moduleTarek Ziade2011-01-301-37/+46
|
* removed the installation to an empty path from the API and fixed a leaking ↵Yannick Gingras2011-01-291-25/+25
| | | | tempdir in the process
* fixed another leaking tempdirYannick Gingras2011-01-291-0/+6
|
* corrected a leaked temp dir problemYannick Gingras2011-01-291-3/+3
|
* raise if the distribution is not found. also disable cache for testingGael Pasgrimaud2011-01-291-1/+3
|
* merge to latestGael Pasgrimaud2011-01-291-26/+152
|\
| * branch mergeAlexis Metaireau2011-01-291-26/+151
| |\
| | * Update installer tests.Alexis Metaireau2011-01-291-9/+11
| | |
| | * merge the installerAlexis Metaireau2011-01-291-29/+38
| | |\
| | * \ merge tarek changes.Alexis Metaireau2011-01-281-5/+1
| | |\ \
| | | * | savepointTarek Ziade2010-12-261-8/+62
| | | | |
| | * | | move the unpack utilities to _backportAlexis Metaireau2011-01-031-76/+1
| | | | |
| | * | | savepointTarek Ziade2011-01-031-18/+211
| | |/ /
* | | | first implementation of the remove() methodGael Pasgrimaud2011-01-291-2/+34
|/ / /
* | | simplified the package_dir option - just one root dir allowedTarek Ziade2011-01-291-0/+7
| |/ |/|
* | Save up a bit of memory thanks to dict.iter* and __iter__?ric Araujo2010-12-171-4/+4
|/
* Work In Progress on install.py.Alexis Metaireau2010-11-211-13/+23
|
* Add basic installation script + tests.Alexis Metaireau2010-11-131-14/+122
|
* Fix one bug and address some pyflakes warnings?ric Araujo2010-10-161-1/+2
|
* Rename command's tests filenames to test_command_*, and install_tools.py to ↵Alexis Metaireau2010-10-041-0/+99
install.py The goal is to avoid overlaps between commands and scripts names (for instance the "install" script and the "install" command)