diff setup.py @ 70731:e3f6c10eb590

Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)
author Éric Araujo <merwok@netwok.org>
date Thu, 09 Jun 2011 14:07:02 +0200
parents b313fc77fa11
children d98b5e0f0862
line wrap: on
line diff
--- a/setup.py	Thu Jun 09 08:18:17 2011 +0200
+++ b/setup.py	Thu Jun 09 14:07:02 2011 +0200
@@ -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