aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-22 13:40:10 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-22 13:40:10 +0000
commitb577c94170b64436919bea8e002c64623d0a9644 (patch)
treeb35c56a641742b554c66e854d6c815b978c61420 /setuptools/command/install.py
parentcbccc4eafde18db71a6dc6a23ec0d39c582655d3 (diff)
downloadexternal_python_setuptools-b577c94170b64436919bea8e002c64623d0a9644.tar.gz
external_python_setuptools-b577c94170b64436919bea8e002c64623d0a9644.tar.bz2
external_python_setuptools-b577c94170b64436919bea8e002c64623d0a9644.zip
Make easy_install --record strip the RPM root when building RPMs, and have
bdist_egg ignore the RPM root when building an egg. This version now can actually run bdist_rpm to completion, although the resulting RPM will install an egg without a corresponding .pth file. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041226
Diffstat (limited to 'setuptools/command/install.py')
-rw-r--r--setuptools/command/install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index f438dda6..c555e7e0 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -23,7 +23,8 @@ class install(_install):
from setuptools.command.easy_install import easy_install
cmd = easy_install(
- self.distribution, args="x", ignore_conflicts_at_my_risk=1
+ self.distribution, args="x", ignore_conflicts_at_my_risk=1,
+ root=self.root
)
cmd.ensure_finalized() # finalize before bdist_egg munges install cmd