Skip to content
Myr

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

3 files+26 added−32 removed

modified:click/parser.py+5 added
14 unmodified lines
15generated and optparse in the stdlib uses gettext for no good reason16and might cause us issues.17"""1819# 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 Foundation2324import re25from collections import deque26from .exceptions import UsageError, NoSuchOption, BadOptionUsage, \27 BadArgumentUsage
405 unmodified lines
modified:LICENSE.rst+18 added-29 removed
1Copyright © 2014 by the Pallets team.1Copyright 2014 Pallets23Some rights reserved.3Redistribution and use in source and binary forms, with or without4modification, are permitted provided that the following conditions are5met:65Redistribution and use in source and binary forms of the software as6well as documentation, with or without modification, are permitted7provided that the following conditions are met:89- Redistributions of source code must retain the above copyright71. Redistributions of source code must retain the above copyright8 notice, this list of conditions and the following disclaimer.912- Redistributions in binary form must reproduce the above copyright102. 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.1316- Neither the name of the copyright holder nor the names of its143. 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.1720THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND21CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,22BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND23FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE24COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,25INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT26NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF27USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON28ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF30THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF31SUCH DAMAGE.3233----3435Click uses parts of optparse written by Gregory P. Ward and maintained36by the Python Software Foundation. This is limited to code in parser.py.3738Copyright © 2001-2006 Gregory P. Ward. All rights reserved.39Copyright © 2002-2006 Python Software Foundation. All rights reserved.18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A21PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED24TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR25PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF26LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING27NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS28SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
modified:setup.py+3 added-3 removed
4 unmodified lines
5with io.open("README.rst", "rt", encoding="utf8") as f:6 readme = f.read()78with 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)1011setup(12 name="click",13 version=version,
2 unmodified lines
16 "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