[Python-checkins] r42823 - sandbox/trunk/setuptools/setuptools/command/install.py
phillip.eby
python-checkins at python.org
Sat Mar 4 01:00:30 CET 2006
Author: phillip.eby
Date: Sat Mar 4 01:00:20 2006
New Revision: 42823
Modified:
sandbox/trunk/setuptools/setuptools/command/install.py
Log:
Made ``--single-version-externally-managed`` automatic when ``--root`` is
used, so that most system packagers won't require special support for
setuptools.
Modified: sandbox/trunk/setuptools/setuptools/command/install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/install.py (original)
+++ sandbox/trunk/setuptools/setuptools/command/install.py Sat Mar 4 01:00:20 2006
@@ -30,15 +30,15 @@
def finalize_options(self):
_install.finalize_options(self)
- if self.single_version_externally_managed:
+ if self.root:
+ self.single_version_externally_managed = True
+ elif self.single_version_externally_managed:
if not self.root and not self.record:
raise DistutilsArgError(
"You must specify --record or --root when building system"
" packages"
)
-
-
def handle_extra_path(self):
# We always ignore extra_path, because we install as .egg or .egg-info
self.path_file = None
More information about the Python-checkins
mailing list