]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
prevent --site-dirs from being passed to the 'install' command
authorcgalvan <cgalvan@mail.utexas.edu>
Fri, 16 Jan 2009 20:57:32 +0000 (13:57 -0700)
committercgalvan <cgalvan@mail.utexas.edu>
Fri, 16 Jan 2009 20:57:32 +0000 (13:57 -0700)
setup.py

index d78f8fb09e0c1194e1afa9424eadb398b46c3e10..5f71c5da4e74df064bc8f81e81d7603d7acaf877 100644 (file)
--- 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])])