From 8b94125b00d768104c4de3c6a11592e864f85054 Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Fri, 21 Jan 2011 00:03:28 -0800
Subject: [PATCH] Make 'setup.py trial' and 'setup.py test' pass
 --version-and-path to bin/tahoe by default.

---
 setup.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index ab60480a..e5f28958 100644
--- a/setup.py
+++ b/setup.py
@@ -249,21 +249,21 @@ class Trial(Command):
     user_options = [ ("rterrors", "e", "Print out tracebacks as soon as they occur."),
                      ("reporter=", None, "The reporter to use for this test run."),
                      ("suite=", "s", "Specify the test suite."),
-                     ("version-and-path", None, "Display version numbers and paths of Tahoe dependencies."),
+                     ("quiet", None, "Don't display version numbers and paths of Tahoe dependencies."),
                    ]
 
     def initialize_options(self):
         self.rterrors = False
         self.reporter = None
         self.suite = "allmydata"
-        self.version_and_path = False
+        self.quiet = False
 
     def finalize_options(self):
         pass
 
     def run(self):
         args = [sys.executable, os.path.join('bin', 'tahoe')]
-        if self.version_and_path:
+        if not self.quiet:
             args.append('--version-and-path')
         args += ['debug', 'trial']
         if self.rterrors:
-- 
2.45.2