1691
|
1 |
Copyright (c) 2007 Skip Montanaro.
|
|
2 |
|
|
3 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4 |
of this software and associated documentation files (the "Software"), to
|
|
5 |
deal in the Software without restriction, including without limitation the
|
|
6 |
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7 |
sell copies of the Software, and to permit persons to whom the Software is
|
|
8 |
furnished to do so, subject to the following conditions:
|
|
9 |
|
|
10 |
The above copyright notice and this permission notice shall be included in
|
|
11 |
all copies or substantial portions of the Software.
|
|
12 |
|
|
13 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19 |
IN THE SOFTWARE.
|
|
20 |
|
|
21 |
--------------------------------------------------------------------------
|
|
22 |
|
|
23 |
# Copyright © 2008–2009 Ben Finney <[email protected]>
|
|
24 |
#
|
|
25 |
# This is free software: you may copy, modify, and/or distribute this work
|
|
26 |
# under the terms of the Python Software Foundation License, version 2 or
|
|
27 |
# later as published by the Python Software Foundation.
|
|
28 |
# No warranty expressed or implied. See the file LICENSE.PSF-2 for details.
|
|
29 |
|
|
30 |
|
|
31 |
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
|
32 |
|
|
33 |
1. This LICENSE AGREEMENT is between the Python Software Foundation
|
|
34 |
("PSF"), and the Individual or Organization ("Licensee") accessing and
|
|
35 |
otherwise using this software ("Python") in source or binary form and
|
|
36 |
its associated documentation.
|
|
37 |
|
|
38 |
2. Subject to the terms and conditions of this License Agreement, PSF
|
|
39 |
hereby grants Licensee a nonexclusive, royalty-free, world-wide
|
|
40 |
license to reproduce, analyze, test, perform and/or display publicly,
|
|
41 |
prepare derivative works, distribute, and otherwise use Python
|
|
42 |
alone or in any derivative version, provided, however, that PSF's
|
|
43 |
License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
|
|
44 |
2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
|
|
45 |
Reserved" are retained in Python alone or in any derivative version
|
|
46 |
prepared by Licensee.
|
|
47 |
|
|
48 |
3. In the event Licensee prepares a derivative work that is based on
|
|
49 |
or incorporates Python or any part thereof, and wants to make
|
|
50 |
the derivative work available to others as provided herein, then
|
|
51 |
Licensee hereby agrees to include in any such work a brief summary of
|
|
52 |
the changes made to Python.
|
|
53 |
|
|
54 |
4. PSF is making Python available to Licensee on an "AS IS"
|
|
55 |
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
|
56 |
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
|
|
57 |
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
|
58 |
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
|
|
59 |
INFRINGE ANY THIRD PARTY RIGHTS.
|
|
60 |
|
|
61 |
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
|
62 |
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
|
63 |
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
|
|
64 |
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
|
65 |
|
|
66 |
6. This License Agreement will automatically terminate upon a material
|
|
67 |
breach of its terms and conditions.
|
|
68 |
|
|
69 |
7. Nothing in this License Agreement shall be deemed to create any
|
|
70 |
relationship of agency, partnership, or joint venture between PSF and
|
|
71 |
Licensee. This License Agreement does not grant permission to use PSF
|
|
72 |
trademarks or trade name in a trademark sense to endorse or promote
|
|
73 |
products or services of Licensee, or any third party.
|
|
74 |
|
|
75 |
8. By copying, installing or otherwise using Python, Licensee
|
|
76 |
agrees to be bound by the terms and conditions of this License
|
|
77 |
Agreement.
|