From 16a89c229e8b67af66d6951bcd4146ea4bf091da Mon Sep 17 00:00:00 2001 From: nibrahim Date: Mon, 22 Feb 2010 16:21:06 -0500 Subject: --help install command no longer tries to install fixes #121 --HG-- branch : distribute extra : rebase_source : 11dab4d1ff0d41ef9b7e808ce7e41592b18a7270 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b8612b5c..064c2afd 100755 --- a/setup.py +++ b/setup.py @@ -82,7 +82,9 @@ def _being_installed(): # Installed by buildout, don't mess with a global setuptools. return False # easy_install marker - return 'install' in sys.argv[1:] or _easy_install_marker() + if "--help" in sys.argv[1:] or "-h" in sys.argv[1:]: # Don't bother doing anything if they're just asking for help + return False + return 'install' in sys.argv[1:] or _easy_install_marker() if _being_installed(): from distribute_setup import _before_install -- cgit v1.2.1