From 242a086ba172b345635f628ad072add8f67dc4f4 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 15 Oct 2015 08:33:38 +0200 Subject: [PATCH] [DEV] add missing license file --- lutin/license.py | 100 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 lutin/license.py diff --git a/lutin/license.py b/lutin/license.py new file mode 100644 index 0000000..0f852d3 --- /dev/null +++ b/lutin/license.py @@ -0,0 +1,100 @@ +#!/usr/bin/python +## +## @author Edouard DUPIN +## +## @copyright 2012, Edouard DUPIN, all right reserved +## +## @license APACHE v2.0 (see license file) +## + +license_base = { + "APACHE-2": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"APACHE v2.0 license", + "licence-file":"licence/apache-2.txt" + }, + "GPL-2": { + "generic":True, + "contaminate-static":True, + "contaminate-dynamic":True, + "redistribute-source":True, + "title":"GPL: Gnu Public Licence v2.0", + "licence-file":"licence/GPL-2.txt" + }, + "GPL-3": { + "generic":True, + "contaminate-static":True, + "contaminate-dynamic":True, + "redistribute-source":True, + "title":"GPL: GNU General Public License v3.0", + "licence-file":"licence/GPL-3.txt" + }, + "LGPL-2": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":True, + "title":"LGPL: GNU Lesser General Public License v2.0", + "licence-file":"licence/LGPL-2.txt" + }, + "LGPL-3": { + "generic":True, + "contaminate-static":True, + "contaminate-dynamic":False, + "redistribute-source":True, + "title":"LGPL: GNU Lesser General Public License v3.0", + "licence-file":"licence/LGPL-3.txt" + }, + "MIT": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"MIT: Massachusetts Institute of Technology License", + "licence-file":"licence/MIT.txt" + }, + "BSD-2": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"BSD 2-clauses: Berkeley Software Distribution License", + "licence-file":"licence/BSD-2.txt" + }, + "BSD-3": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"BSD 3-clauses: Berkeley Software Distribution License", + "licence-file":"licence/BSD-3.txt" + }, + "BSD-4": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"BSD 4-clauses: Berkeley Software Distribution License", + "licence-file":"licence/BSD-4.txt" + }, + "PNG": { + "generic":True, + "contaminate-static":False, + "contaminate-dynamic":False, + "redistribute-source":False, + "title":"PNG License", + "licence-file":"licence/png.txt" + } +} + +def get_basic_list(): + global license_base + out = [] + for name in license_base: + out.append(name) + return out + +