From 8148366d93c34dbebc943aeb1705fc5649cb6268 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx <zooko@zooko.com> Date: Mon, 19 Jan 2009 14:53:52 -0700 Subject: [PATCH] setup: undo (for the second time) the use of the --multi-version feature When this feature is turned on, then setuptools doesn't create easy-install.pth, setuptools.pth, or site.py in the target site-packages dir. I don't know why not and we should probably open a ticket on the setuptools tracker and/or hack setuptools to create those files anyway. But for now (for the Tahoe-1.3.0 release), we're going to leave --multi-version mode off and require users to manually uninstall any packages which are too old and thus conflict with our newer dependencies. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8fdc3e2e..4c194301 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,7 @@ if 'trial' in sys.argv[1:]: 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. + # is run as well. trial_index = sys.argv.index('trial') sys.argv.insert(trial_index, 'build_tahoe') @@ -297,7 +297,7 @@ class BuildTahoe(Command): f.write(line) f.close() - command = [sys.executable, "setup.py", "develop", "--multi-version", + command = [sys.executable, "setup.py", "develop", "--prefix=support"] print "Command:", " ".join(command) rc = subprocess.call(command) -- 2.45.2