From 9f49f3fabbe1d7ae0a22a892927b7309729778f1 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Tue, 20 Jan 2009 12:37:23 -0700
Subject: [PATCH] setup: use setup.cfg aliases to map "setup.py test" to
 "setup.py trial" and "setup.py build" to "setup.py darcsver
 --count-all-patches build_tahoe" Thanks to dpeterson for the suggestion.

---
 docs/install.html | 4 ++--
 setup.cfg         | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/install.html b/docs/install.html
index 9e835dae..021eda9e 100644
--- a/docs/install.html
+++ b/docs/install.html
@@ -33,9 +33,9 @@
 
     <p>Unpack the zip file and cd into the top-level directory.</p>
 
-    <p>Run <cite>python setup.py build_tahoe</cite> to build and to install the <cite>tahoe</cite> executable into a subdirectory of the current directory named <cite>bin</cite>.</p>
+    <p>Run <cite>python setup.py build</cite> to install the <cite>tahoe</cite> executable into a subdirectory of the current directory named <cite>bin</cite>.</p>
 
-    <p>Run <cite>python setup.py trial</cite> to verify that it built correctly and passes all tests.</p>
+    <p>Optionally run <cite>python setup.py test</cite> to verify that it passes tests.</p>
 
     <p>Run <cite>bin/tahoe --version</cite> to verify that the executable tool runs and prints out the right version number.</p>
 
diff --git a/setup.cfg b/setup.cfg
index 8ed55175..53fb00cf 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,3 +27,6 @@ find_links=misc/dependencies tahoe-deps ../tahoe-deps
 # http://sourceforge.net/project/showfiles.php?group_id=78018&package_id=79063
 # http://pypi.python.org/pypi/pywin32
 
+[aliases]
+build = darcsver --count-all-patches build_tahoe
+test = trial
-- 
2.45.2