summaryrefslogtreecommitdiff
path: root/distutils2/run.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge default?ric Araujo2012-05-211-19/+23
|\
| * Have pysetup read setup.cfg early to find custom commands (#14733).?ric Araujo2012-05-211-13/+10
| | | | | | | | | | Independently found and fixed by me (with help from Luis Rojas) and Janusz Lewandowski.
| * Merge further changes by Montreal sprinters?ric Araujo2012-05-161-1/+2
| |\
| | * #13399 - some tweakingPatrice Gauthier2012-05-141-1/+2
| | |
| * | Harmonize error messages and add one missing test for #13339?ric Araujo2012-05-161-8/+5
| | |
| * | Fix minor whitespace, syntax and idiom nits?ric Araujo2012-05-161-11/+10
| |/
| * #13399: Fixes the invalid arguments handlingPatrice Gauthier2012-05-121-4/+13
| |
| * #13166: Implement __str__ on Distribution and EggInfoDistribution, use for ↵Guillaume Pratte2012-04-211-1/+1
| | | | | | | | pysetup list, pysetup graph and installation log
* | Merge fixes for #13462 and others from default?ric Araujo2012-02-091-6/+3
|\ \ | |/
| * Group commands by topic in ?pysetup run --list-commands? output.?ric Araujo2012-02-091-6/+3
| | | | | | | | | | | | This fixes a regression from distutils, where ?setup.py --help-commands? prints out commands grouped by topic (i.e. building vs. installing), which is more useful than using sorted.
* | Merge compat/_backport cleanup from default.?ric Araujo2011-11-231-1/+1
|\ \ | |/ | | | | | | | | For some reason, the diff for distutils/_backport/misc.py makes it seem like it?s a new file instead of showing the changes I did during the merge.
* | Ye olde merge.?ric Araujo2011-11-121-2/+3
|\ \ | |/ | | | | | | 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.
| * Bring back callable.?ric Araujo2011-11-121-2/+2
| | | | | | | | | | | | | | hasattr is subtly wrong, as special methods are looked up on the class, and given that the callable builtin is back in Python 3.2 we may as well use it. Regular users shouldn?t see the DeprecationWarnings, and us developers can just ignore thme when running tests.
* | Merge fix for #12222 and other changes from default?ric Araujo2011-10-061-2/+3
|\ \ | |/
| * Fix return code of ?pysetup run COMMAND? (closes #12222)?ric Araujo2011-10-061-2/+3
| |
* | Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-34/+33
|/ | | | | | | | | | 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 --all options for pysetup actions metadata and list.?ric Araujo2011-09-191-135/+107
| | | | | | | | | | | | | | | | | | When called without option (?-f field? or ?--all?), ?pysetup metadata? didn?t do anything useful. Now it prints out all metadata fields. ?pysetup list? without arguments already printed all installed distributions found, so the option was superfluous. Less typing, more consistency, more happiness! In addition, change ?releases? for ?projects? in the description of the list action. Strictly speaking, one installed distribution satisfies the requirement for a release (i.e. version) of a project, but as currently only one release per project can be installed at a time, the two are somewhat equivalent, and ?project? is more understandable in help texts (which call their argument ?dist?, by the way..) Finally, all help texts have been moved near to the function they document.
* Fix the backport fixes.?ric Araujo2011-09-181-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Convert print function calls back to print statements.?ric Araujo2011-09-121-19/+19
| | | | | | This caused pysetup to print out tuples. When multi-line strings are enclosed in parens for line-wrapping purposes, which would not print out a tuple, I have added a space for clarity anyway.
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-2/+4
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-179/+383
|
* added a create actionTarek Ziade2011-03-121-0/+1
|
* added a create actionTarek Ziade2011-03-121-1/+8
|
* [mq]: commandlineTarek Ziade2011-02-201-191/+437
|
* Refactoring -- Removing grok_environment_error.Kelsey Hightower2011-02-101-7/+1
|
* hooked the remove code - tests w/ data tree coming upTarek Ziade2011-01-301-1/+5
|
* cleanupTarek Ziade2011-01-301-23/+25
|
* branch mergeAlexis Metaireau2011-01-291-0/+24
|\
| * merge the installerAlexis Metaireau2011-01-291-3/+3
| |\
| * \ merge tarek changes.Alexis Metaireau2011-01-281-0/+4
| |\ \
| | * | savepointTarek Ziade2010-12-261-0/+25
| | | |
| * | | savepointTarek Ziade2011-01-031-0/+20
| |/ /
* | | simplified the package_dir option - just one root dir allowedTarek Ziade2011-01-291-0/+1
| | |
* | | add --metadata optionGael Pasgrimaud2011-01-291-0/+29
| |/ |/|
* | Branch merge?ric Araujo2011-01-211-3/+3
|\ \ | |/ |/|
| * Fix bug that caused test test_sub_commands to fail.smathieu2010-12-081-1/+1
| |
| * temporary fix the test runningMathieu Leduc-Hamel2010-12-081-2/+2
| |
* | typo + exiting when help is displayedTarek Ziade2010-12-101-1/+5
| |
* | savepointTarek Ziade2010-11-271-0/+42
|/
* added optparse in the main scriptTarek Ziade2010-11-141-1/+22
|
* Add basic pysetup support.Alexis Metaireau2010-11-121-1/+6
|
* removed core.pyTarek Ziade2010-10-251-2/+107
|
* first version of the -m runnerTarek Ziade2010-09-221-0/+4