From f2da816be54c756999177d2ee94aa9a5f55da376 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 30 Jun 2020 23:45:17 +0400 Subject: [PATCH] I changed the license from WTFPLv2 to MIT. --- COPYING | 26 +++++++++++++++++--------- piggybank/__init__.py | 10 ++++------ setup.cfg | 4 ++-- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/COPYING b/COPYING index 8cffccc..be646f1 100644 --- a/COPYING +++ b/COPYING @@ -1,13 +1,21 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 +The MIT License - Copyright (C) 2004 Sam Hocevar +Copyright (c) 2020 Alexander "Arav" Andreev - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. +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: - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file +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. \ No newline at end of file diff --git a/piggybank/__init__.py b/piggybank/__init__.py index d2abe28..e04a22d 100644 --- a/piggybank/__init__.py +++ b/piggybank/__init__.py @@ -3,17 +3,15 @@ __all__ = ["__date__", "__version__", "__author__", "__email__", "VERSION"] -__date__ = "7 June 2020" +__date__ = "30 June 2020" __version__ = "1.0.0" __author__ = "Alexander \"Arav\" Andreev" __email__ = "me@arav.top" __copyright__ = f"Copyright (c) 2020 {__author__} <{__email__}>" __license__ = \ -"""This program is free software. It comes without any warranty, to -the extent permitted by applicable law. You can redistribute it -and/or modify it under the terms of the Do What The Fuck You Want -To Public License, Version 2, as published by Sam Hocevar. See -http://www.wtfpl.net/ for more details.""" +"""This program is licensed under the terms of the MIT license. +For a copy see COPYING file in a directory of the program, or +see """ PIGGYBANK_FILE_EXTENSION = ".pb" diff --git a/setup.cfg b/setup.cfg index 54d6451..f4111ed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,14 +13,14 @@ keywords = coins piggy bank savings -license = WTFPL 2.0 +license = MIT license_file = COPYING platforms = any classifiers = Development Status :: 5 - Production/Stable Environment :: Console Intended Audience :: End Users/Desktop - License :: Public Domain + License :: OSI Approved :: MIT License Natural Language :: English Operating System :: OS Independent Programming Language :: Python