From 9f49f3fabbe1d7ae0a22a892927b7309729778f1 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx 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 @@

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