From 58743b2b7665eb17f4d2bed142d536f6a6251d51 Mon Sep 17 00:00:00 2001 From: cgalvan Date: Fri, 16 Jan 2009 13:57:32 -0700 Subject: [PATCH] prevent --site-dirs from being passed to the 'install' command --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d78f8fb0..5f71c5da 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ for i in range(len(sys.argv)): pp.append(libdir) os.environ['PYTHONPATH'] = os.pathsep.join(pp) - if arg.startswith("install") or arg.startswith("develop"): + if arg.startswith("develop"): if sys.platform == "linux2": # workaround for tahoe #229 / setuptools #17, on debian sys.argv.extend(["--site-dirs", "/var/lib/python-support/python%d.%d" % (sys.version_info[:2])]) -- 2.45.2