From: Zooko O'Whielacronx 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/pf/content/en/seg/-?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 @@

Unpack the zip file and cd into the top-level directory.

-

Run python setup.py build_tahoe to build and to install the tahoe executable into a subdirectory of the current directory named bin.

+

Run python setup.py build to install the tahoe executable into a subdirectory of the current directory named bin.

-

Run python setup.py trial to verify that it built correctly and passes all tests.

+

Optionally run python setup.py test to verify that it passes tests.

Run bin/tahoe --version to verify that the executable tool runs and prints out the right version number.

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