Commit 087c9f1e authored by PJ Eby's avatar PJ Eby

Made ``--single-version-externally-managed`` automatic when ``--root`` is

used, so that most system packagers won't require special support for
setuptools.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042823
parent dc66bc4e
......@@ -30,15 +30,15 @@ class install(_install):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment