summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/run.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-663/+0
| | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* 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.
* Fix a few typosÉric Araujo2011-11-141-1/+1
|
* Merge 3.2Florent Xicluna2011-10-281-1/+1
|
* Fix return code of “pysetup run COMMAND” (closes #12222)Éric Araujo2011-10-061-2/+3
|
* Remove unneeded --all option of “pysetup list”.Éric Araujo2011-09-121-12/+8
| | | | | | | | | | | | The command without arguments already prints all installed distributions found. 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..)
* Move help texts near to the function they’re related toÉric Araujo2011-08-301-121/+101
|
* Print all fields when calling “pysetup metadata” without options.Éric Araujo2011-08-291-11/+7
| | | | | | When called without option (“-f field” or “--all”), “pysetup metadata” didn’t do anything useful. Now it prints out all metadata fields. The “--all” option is removed.
* Let all pysetup actions return a meaningful 0 or 1 exit code (#12222).Éric Araujo2011-07-291-32/+34
| | | | | | | | | | This will help scripts calling pysetup know if a command failed. Printing/logging was also made more consistent, and a few things were cleaned up. In particular, the error/Ctrl-C handling was moved from the _run function up to the main function. The run action is not fixed yet; it returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix.
* Let pysetup list exit with a non-zero code when no result is found (#11409).Éric Araujo2011-07-291-1/+7
| | | | | | | “pysetup list” or “pysetup list --all” will continue to return 0 if no distribution is found (it’s not an error), but “pysetup list some.project” will now exit with 1 if no matching installed distribution is found. Based on a patch by Kelsey Hightower.
* Packaging cleanup: normalize print calls.Éric Araujo2011-06-081-10/+10
| | | | | Namely: use default arguments instead of explicit empty string; use multiple arguments instead of building strings.
* Packaging cleanup: remove use of script_name where obsoleteÉric Araujo2011-06-081-1/+0
|
* Make help messages in packaging.run more consistentÉric Araujo2011-06-041-7/+6
|
* Cleanup in packaging: don’t unnecessarily instantiate exceptionsÉric Araujo2011-06-041-1/+1
|
* Use list constructor or built-in method instead of copy moduleÉric Araujo2011-06-041-2/+1
|
* added the generate-setup actionTarek Ziade2011-06-021-1/+17
|
* code cleanup in packaging.runTarek Ziade2011-05-311-8/+4
|
* make sure we check for write access before starting the install, and add ↵Tarek Ziade2011-05-311-4/+10
| | | | correct exit code
* improved pysetup list UITarek Ziade2011-05-311-1/+9
|
* Cleaned up the installer output behavior.Tarek Ziade2011-05-301-14/+31
| | | | | | This change also makes sure the logger handlers are not alterated after an installation. That also fixes the remaining environment alteration issue in test_packaging.
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+645