From: cgalvan Date: Fri, 16 Jan 2009 20:57:32 +0000 (-0700) Subject: prevent --site-dirs from being passed to the 'install' command X-Git-Tag: allmydata-tahoe-1.3.0~186 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/module-simplejson.html?a=commitdiff_plain;h=58743b2b7665eb17f4d2bed142d536f6a6251d51;p=tahoe-lafs%2Ftahoe-lafs.git prevent --site-dirs from being passed to the 'install' command --- 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])])