| 1 |
The MIT License |
| 2 |
|
| 3 |
Copyright (c) 2008 Bob Farrell |
| 4 |
|
| 5 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 |
of this software and associated documentation files (the "Software"), to deal |
| 7 |
in the Software without restriction, including without limitation the rights |
| 8 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 9 |
copies of the Software, and to permit persons to whom the Software is |
| 10 |
furnished to do so, subject to the following conditions: |
| 11 |
|
| 12 |
The above copyright notice and this permission notice shall be included in |
| 13 |
all copies or substantial portions of the Software. |
| 14 |
|
| 15 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 18 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 20 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 21 |
THE SOFTWARE. |
| 22 |
|
| 23 |
|
| 24 |
One function in bpython/simpleeval.py is licensed under the |
| 25 |
Python Software Foundation License version 2: simple_eval |
| 26 |
|
| 27 |
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 |
| 28 |
-------------------------------------------- |
| 29 |
|
| 30 |
1. This LICENSE AGREEMENT is between the Python Software Foundation |
| 31 |
("PSF"), and the Individual or Organization ("Licensee") accessing and |
| 32 |
otherwise using this software ("Python") in source or binary form and |
| 33 |
its associated documentation. |
| 34 |
|
| 35 |
2. Subject to the terms and conditions of this License Agreement, PSF |
| 36 |
hereby grants Licensee a nonexclusive, royalty-free, world-wide |
| 37 |
license to reproduce, analyze, test, perform and/or display publicly, |
| 38 |
prepare derivative works, distribute, and otherwise use Python |
| 39 |
alone or in any derivative version, provided, however, that PSF's |
| 40 |
License Agreement and PSF's notice of copyright, i.e., "Copyright (c) |
| 41 |
2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved" |
| 42 |
are retained in Python alone or in any derivative version prepared |
| 43 |
by Licensee. |
| 44 |
|
| 45 |
3. In the event Licensee prepares a derivative work that is based on |
| 46 |
or incorporates Python or any part thereof, and wants to make |
| 47 |
the derivative work available to others as provided herein, then |
| 48 |
Licensee hereby agrees to include in any such work a brief summary of |
| 49 |
the changes made to Python. |
| 50 |
|
| 51 |
4. PSF is making Python available to Licensee on an "AS IS" |
| 52 |
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR |
| 53 |
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND |
| 54 |
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS |
| 55 |
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT |
| 56 |
INFRINGE ANY THIRD PARTY RIGHTS. |
| 57 |
|
| 58 |
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |
| 59 |
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS |
| 60 |
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, |
| 61 |
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 62 |
|
| 63 |
6. This License Agreement will automatically terminate upon a material |
| 64 |
breach of its terms and conditions. |
| 65 |
|
| 66 |
7. Nothing in this License Agreement shall be deemed to create any |
| 67 |
relationship of agency, partnership, or joint venture between PSF and |
| 68 |
Licensee. This License Agreement does not grant permission to use PSF |
| 69 |
trademarks or trade name in a trademark sense to endorse or promote |
| 70 |
products or services of Licensee, or any third party. |
| 71 |
|
| 72 |
8. By copying, installing or otherwise using Python, Licensee |
| 73 |
agrees to be bound by the terms and conditions of this License |
| 74 |
Agreement. |
| 75 |
|
| 76 |
|
| 77 |
BuildDoc in setup.py is licensed under the BSD-2 license: |
| 78 |
|
| 79 |
Copyright 2007-2021 Sebastian Wiesner |
| 80 |
|
| 81 |
Redistribution and use in source and binary forms, with or without |
| 82 |
modification, are permitted provided that the following conditions are |
| 83 |
met: |
| 84 |
|
| 85 |
* Redistributions of source code must retain the above copyright |
| 86 |
notice, this list of conditions and the following disclaimer. |
| 87 |
|
| 88 |
* Redistributions in binary form must reproduce the above copyright |
| 89 |
notice, this list of conditions and the following disclaimer in the |
| 90 |
documentation and/or other materials provided with the distribution. |
| 91 |
|
| 92 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 93 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 94 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 95 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 96 |
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 97 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 98 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 99 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 100 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 101 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 102 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |