[Python-checkins] cpython: Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)
eric.araujo
python-checkins at python.org
Thu Jun 9 14:11:05 CEST 2011
http://hg.python.org/cpython/rev/e3f6c10eb590
changeset: 70731:e3f6c10eb590
parent: 70728:068cd59b2213
user: Éric Araujo <merwok at netwok.org>
date: Thu Jun 09 14:07:02 2011 +0200
summary:
Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)
files:
setup.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1780,6 +1780,13 @@
install.initialize_options(self)
self.warn_dir=0
+ # Customize subcommands to not install an egg-info file for Python
+ sub_commands = [('install_lib', install.has_lib),
+ ('install_headers', install.has_headers),
+ ('install_scripts', install.has_scripts),
+ ('install_data', install.has_data)]
+
+
class PyBuildInstallLib(install_lib):
# Do exactly what install_lib does but make sure correct access modes get
# set on installed directories and files. All installed files with get
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list