From 791cfca8d5456065daa965190b44cd8801ff8271 Mon Sep 17 00:00:00 2001 From: cgalvan Date: Fri, 16 Jan 2009 18:00:47 -0700 Subject: [PATCH] run build_tahoe command with trial commmand --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 6bb651c5..8fdc3e2e 100644 --- a/setup.py +++ b/setup.py @@ -164,6 +164,11 @@ if 'trial' in sys.argv[1:]: sys.argv.append("--reactor=poll") setup_requires.append('setuptools_trial >= 0.2') + # Whenever we run the 'trial' command, make sure that the build_tahoe step + # is run as well to pass through the --multi-version flag. + trial_index = sys.argv.index('trial') + sys.argv.insert(trial_index, 'build_tahoe') + # setuptools_darcs is required to produce complete distributions (such as with # "sdist" or "bdist_egg"), unless there is a PKG-INFO file present which shows # that this is itself a source distribution. -- 2.45.2