[DEV] add missing license file
This commit is contained in:
parent
14fcfc1d54
commit
242a086ba1
100
lutin/license.py
Normal file
100
lutin/license.py
Normal file
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user