From 4d930beeb34a44f4e9e8499db24cbdb13c17f7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 1 Dec 2004 21:46:35 +0000 Subject: Add all readme files in Tools. --- Tools/msi/msi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- cgit v0.12