summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-21 10:00:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-21 10:00:46 (GMT)
commit64ed043c9ada5be6c9a74c72e18f8fd14d696a30 (patch)
treea5e15860f206afb31f16dc32fe4bfa48ff283498 /Tools
parent262fb9256b33ca592655361d4982ad8d49a88ffe (diff)
downloadcpython-64ed043c9ada5be6c9a74c72e18f8fd14d696a30.zip
cpython-64ed043c9ada5be6c9a74c72e18f8fd14d696a30.tar.gz
cpython-64ed043c9ada5be6c9a74c72e18f8fd14d696a30.tar.bz2
Package setuptools
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index efa1696..f7d384a 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -908,6 +908,12 @@ def add_files(db):
if files:
# Add an entry to the RemoveFile table to remove bytecode files.
lib.remove_pyc()
+ if dir.endswith('.egg-info'):
+ lib.add_file('entry_points.txt')
+ lib.add_file('PKG-INFO')
+ lib.add_file('top_level.txt')
+ lib.add_file('zip-safe')
+ continue
if dir=='test' and parent.physical=='Lib':
lib.add_file("185test.db")
lib.add_file("audiotest.au")
@@ -930,9 +936,12 @@ def add_files(db):
if dir=="Icons":
lib.glob("*.gif")
lib.add_file("idle.icns")
- if dir=="command":
+ if dir=="command" and parent.physical=="distutils":
lib.add_file("wininst-6.exe")
lib.add_file("wininst-7.1.exe")
+ if dir=="setuptools":
+ lib.add_file("cli.exe")
+ lib.add_file("gui.exe")
if dir=="data" and parent.physical=="test" and parent.basedir.physical=="email":
# This should contain all non-.svn files listed in subversion
for f in os.listdir(lib.absolute):