mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
prevent --site-dirs from being passed to the 'install' command
This commit is contained in:
parent
7bfaa74ef1
commit
58743b2b76
2
setup.py
2
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])])
|
||||
|
Loading…
Reference in New Issue
Block a user