diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..24193ca --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2016 Frank Valcarcel + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.rst b/README.rst index b088d2d..4d2b7d5 100644 --- a/README.rst +++ b/README.rst @@ -82,4 +82,4 @@ Then in the `docs/` directory, run License ------- -This module is available under the BSD license. +This module is available under the MIT license. diff --git a/flask_logging_extras/__init__.py b/flask_logging_extras/__init__.py index f123bf9..74fbbe3 100644 --- a/flask_logging_extras/__init__.py +++ b/flask_logging_extras/__init__.py @@ -1,4 +1,23 @@ # -*- coding: utf-8 -*- +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ Extra functionality for Flask logging @@ -16,7 +35,7 @@ import logging __version_info__ = ('0', '0', '1') __version__ = '.'.join(__version_info__) __author__ = 'Gergely Polonkai' -__license__ = 'BSD' +__license__ = 'MIT' __copyright__ = '(c) 2015 GT2' class FlaskExtraLogger(logging.getLoggerClass()): diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..ddb7da9 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description_file = README.rst diff --git a/setup.py b/setup.py index 637d462..a6d1ca3 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup setup(name='Flask-Logging-Extras', version='0.0.1', url='https://github.com/gergelypolonkai/flask-logging-extras', - license='BSD', + license='MIT', author='Gergely Polonkai', author_email='gergely@polonkai.eu', description='Extra logging functionality for Flask apps', @@ -24,7 +24,7 @@ setup(name='Flask-Logging-Extras', 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', + 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7',