New submission from Kelsey <kelsey.highto...@gmail.com>: I would like to make pysetup easier to work with when called from shell scripts or similar tools that wish to take action based on the exit code of the pysetup --search command. In this case return 0 if a match is found and 1 otherwise.
As an enhancement, print a message to stdout that the dist is not installed. Example: # pysetup -s Mako Mako is not installed # echo $? 1 Please review my patch in my d2 patch queue: https://bitbucket.org/khightower/distutils2-patch-queue/qseries?apply=t&qs_apply=pysetup-search ---------- assignee: tarek components: Distutils2 files: pysetup-search.patch keywords: patch messages: 130127 nosy: alexis, eric.araujo, kelseyhightower, tarek priority: normal severity: normal status: open title: pysetup --search should return non-zero when a dist is not installed and print a message stating the fact. type: behavior versions: 3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21009/pysetup-search.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com