standardize license
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent 49fe8fb · Browse files · 3 files·+26 added−32 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+26 added−32 removed
- other:+26 added−32 removed
Provenance
- Commit
d64edda- Tree
0d83eb8- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
49fe8fb
3 files changed+26 added−32 removed
modified:click/parser.py+5 added
14 unmodified lines15 generated and optparse in the stdlib uses gettext for no good reason16 and might cause us issues.17 """18 19+# This code uses parts of optparse written by Gregory P. Ward and20+# maintained by the Python Software Foundation.21+# Copyright 2001-2006 Gregory P. Ward22+# Copyright 2002-2006 Python Software Foundation23+24 import re25 from collections import deque26 from .exceptions import UsageError, NoSuchOption, BadOptionUsage, \27 BadArgumentUsage405 unmodified linesmodified:LICENSE.rst+18 added-29 removed
1-Copyright © 2014 by the Pallets team.1+Copyright 2014 Pallets2 3-Some rights reserved.3+Redistribution and use in source and binary forms, with or without4+modification, are permitted provided that the following conditions are5+met:6 5-Redistribution and use in source and binary forms of the software as6-well as documentation, with or without modification, are permitted7-provided that the following conditions are met:8-9-- Redistributions of source code must retain the above copyright7+1. Redistributions of source code must retain the above copyright8 notice, this list of conditions and the following disclaimer.9 12-- Redistributions in binary form must reproduce the above copyright10+2. Redistributions in binary form must reproduce the above copyright11 notice, this list of conditions and the following disclaimer in the12 documentation and/or other materials provided with the distribution.13 16-- Neither the name of the copyright holder nor the names of its14+3. Neither the name of the copyright holder nor the names of its15 contributors may be used to endorse or promote products derived from16 this software without specific prior written permission.17 20-THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND21-CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,22-BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND23-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE24-COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,25-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT26-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF27-USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON28-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF30-THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF31-SUCH DAMAGE.32-33-----34-35-Click uses parts of optparse written by Gregory P. Ward and maintained36-by the Python Software Foundation. This is limited to code in parser.py.37-38-Copyright © 2001-2006 Gregory P. Ward. All rights reserved.39-Copyright © 2002-2006 Python Software Foundation. All rights reserved.18+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A21+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED24+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR25+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF26+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING27+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS28+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.modified:setup.py+3 added-3 removed
4 unmodified lines5 with io.open("README.rst", "rt", encoding="utf8") as f:6 readme = f.read()7 8 with io.open("click/__init__.py", "rt", encoding="utf8") as f:9- version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)9+ version = re.search(r"__version__ = '(.*?)'", f.read()).group(1)10 11 setup(12 name="click",13 version=version,2 unmodified lines16 "Documentation": "https://click.palletsprojects.com/",17 "Code": "https://github.com/pallets/click",18 "Issue tracker": "https://github.com/pallets/click/issues",19 },20- license="BSD",20+ license="BSD-3-Clause",21 author="Armin Ronacher",22 author_email="armin.ronacher@active-4.com",23- maintainer="Pallets Team",23+ maintainer="Pallets",24 maintainer_email="contact@palletsprojects.com",25 description="Composable command line interface toolkit",26 long_description=readme,27 packages=["click"],17 unmodified lines