summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-12-01 21:46:35 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-12-01 21:46:35 (GMT)
commit4d930beeb34a44f4e9e8499db24cbdb13c17f7fe (patch)
tree3eda765365a2cf2437cd45a5d2fb628e8f4e7cf3 /Tools
parent0e920a7244aa58276b4e336bd091d7431beb5629 (diff)
downloadcpython-4d930beeb34a44f4e9e8499db24cbdb13c17f7fe.zip
cpython-4d930beeb34a44f4e9e8499db24cbdb13c17f7fe.tar.gz
cpython-4d930beeb34a44f4e9e8499db24cbdb13c17f7fe.tar.bz2
Add all readme files in Tools.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 8d21f6c..eb17ad5 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -982,8 +982,9 @@ def add_files(db):
if f == "pynche":
x = PyDirectory(db, cab, lib, "X", "X", "X|X")
x.glob("*.txt")
- if f == 'Scripts':
+ if os.path.exists(os.path.join(lib.absolute, "README")):
lib.add_file("README.txt", src="README")
+ if f == 'Scripts':
if have_tcl:
lib.start_component("pydocgui.pyw", tcltk, keyfile="pydocgui.pyw")
lib.add_file("pydocgui.pyw")