From b29f2d710189c1eff01d50e5b9adaa663a0d96ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 14 Sep 2008 20:27:52 +0000 Subject: [PATCH] Merged revisions 66460-66461 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r66460 | martin.v.loewis | 2008-09-14 22:22:39 +0200 (So, 14 Sep 2008) | 1 line Issue #3617: Include a licensing statement regarding the Microsoft C runtime in the Windows installer. ........ r66461 | martin.v.loewis | 2008-09-14 22:25:40 +0200 (So, 14 Sep 2008) | 1 line Set eol-style to native. ........ --- Tools/msi/crtlicense.txt | 44 ++++++++++++++++++++++++++++++++++++++++ Tools/msi/msi.py | 1 + 2 files changed, 45 insertions(+) create mode 100644 Tools/msi/crtlicense.txt diff --git a/Tools/msi/crtlicense.txt b/Tools/msi/crtlicense.txt new file mode 100644 index 00000000000..04e88b9f4ea --- /dev/null +++ b/Tools/msi/crtlicense.txt @@ -0,0 +1,44 @@ + + +Additional Conditions for this Windows binary build +--------------------------------------------------- + +This program is linked with and uses Microsoft Distributable Code, +copyrighted by Microsoft Corporation. The Microsoft Distributable Code +includes the following files: + +msvcr90.dll +msvcp90.dll +msvcm90.dll + +If you further distribute programs that include the Microsoft +Distributable Code, you must comply with the restrictions on +distribution specified by Microsoft. In particular, you must require +distributors and external end users to agree to terms that protect the +Microsoft Distributable Code at least as much as Microsoft's own +requirements for the Distributable Code. See Microsoft's documentation +(included in its developer tools and on its website at microsoft.com) +for specific details. + +Redistribution of the Windows binary build of the Python interpreter +complies with this agreement, provided that you do not: + +- alter any copyright, trademark or patent notice in Microsoft's +Distributable Code; + +- use Microsoft’s trademarks in your programs’ names or in a way that +suggests your programs come from or are endorsed by Microsoft; + +- distribute Microsoft's Distributable Code to run on a platform other +than Microsoft operating systems, run-time technologies or application +platforms; + +- include Microsoft Distributable Code in malicious, deceptive or +unlawful programs; or + +These restrictions apply only to the Microsoft Distributable Code as +defined above, not to Python itself or any programs running on the +Python interpreter. The redistribution of the Python interpreter and +libraries is governed by the Python Software License included with this +file, or by other licenses as marked. + diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 0557bd3f8b9..8a8189e528b 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -862,6 +862,7 @@ def generate_license(): import shutil, glob out = open("LICENSE.txt", "w") shutil.copyfileobj(open(os.path.join(srcdir, "LICENSE")), out) + shutil.copyfileobj(open("crtlicense.txt"), out) for name, pat, file in (("bzip2","bzip2-*", "LICENSE"), ("Berkeley DB", "db-*", "LICENSE"), ("openssl", "openssl-*", "LICENSE"),