From b577c94170b64436919bea8e002c64623d0a9644 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Mon, 22 Aug 2005 13:40:10 +0000 Subject: 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 --- setuptools/command/install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setuptools/command/install.py') 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 -- cgit v1.2.1