summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools/command/install.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index dec4e320..22999c25 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -19,12 +19,13 @@ class install(orig.install):
('old-and-unmanageable', None, "Try not to use this!"),
('single-version-externally-managed', None,
"used by system package builders to create 'flat' eggs"),
+ ('skip-egg-info', None, "*TRANSITIONAL* will be removed in the future"),
]
boolean_options = orig.install.boolean_options + [
- 'old-and-unmanageable', 'single-version-externally-managed',
+ 'old-and-unmanageable', 'single-version-externally-managed', 'skip-egg-info'
]
new_commands = [
- ('install_egg_info', lambda self: True),
+ ('install_egg_info', lambda self: not self.skip_egg_info),
('install_scripts', lambda self: True),
]
_nc = dict(new_commands)
@@ -46,6 +47,7 @@ class install(orig.install):
orig.install.initialize_options(self)
self.old_and_unmanageable = None
self.single_version_externally_managed = None
+ self.skip_egg_info = False
def finalize_options(self):
orig.install.finalize_options(self)