aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-12-14 23:47:22 +0000
committerPJ Eby <distutils-sig@python.org>2005-12-14 23:47:22 +0000
commit1b77dd8e7845b5ac38fc7367796290dd65b8c531 (patch)
treebbb46c896f6e332e227e6d8983ea55cb6b7a9bd9 /setuptools/command/install.py
parentb9ef25271341903cdf75ea50a49f5d8b5d6cfd66 (diff)
downloadexternal_python_setuptools-1b77dd8e7845b5ac38fc7367796290dd65b8c531.tar.gz
external_python_setuptools-1b77dd8e7845b5ac38fc7367796290dd65b8c531.tar.bz2
external_python_setuptools-1b77dd8e7845b5ac38fc7367796290dd65b8c531.zip
Support full roundtrip translation of eggs to and from ``bdist_wininst``
format. Running ``bdist_wininst`` on a setuptools-based package wraps the egg in an .exe that will safely install it as an egg (i.e., with metadata and entry-point wrapper scripts), and ``easy_install`` can turn the .exe back into an ``.egg`` file or directory and install it as such. At this point, it should also be possible to "system package" any egg, complete with wrapper scripts, and at least bdist_wininst works now. More testing is needed for at least bdist_dumb and bdist_rpm. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041692
Diffstat (limited to 'setuptools/command/install.py')
-rw-r--r--setuptools/command/install.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index 2cc0cb84..760a416c 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -15,8 +15,11 @@ class install(_install):
'old-and-unmanageable', 'single-version-externally-managed',
]
- sub_commands = _install.sub_commands + [
+ sub_commands = [
+ cmd for cmd in _install.sub_commands if cmd[0] != 'install_scripts'
+ ] + [
('install_egg_info', lambda self: True),
+ ('install_scripts', lambda self: True),
]
def initialize_options(self):
@@ -53,7 +56,7 @@ class install(_install):
cmd = easy_install(
self.distribution, args="x", ignore_conflicts_at_my_risk=1,
- root=self.root
+ root=self.root, record=self.record,
)
cmd.ensure_finalized() # finalize before bdist_egg munges install cmd