From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Tue, 20 Jan 2009 19:37:23 +0000 (-0700)
Subject: setup: use setup.cfg aliases to map "setup.py test" to "setup.py trial" and "setup... 
X-Git-Tag: allmydata-tahoe-1.3.0~171
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html?a=commitdiff_plain;h=9f49f3fabbe1d7ae0a22a892927b7309729778f1;p=tahoe-lafs%2Ftahoe-lafs.git

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.
---

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