aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-29 21:24:50 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-29 21:25:47 +0100
commit16006874491d1e1492e1337a0e58db43236a7ffb (patch)
tree05aaef6cebd01bc2cd5b8802a303ddeabbee9794 /setup.py
parentfa2f17526f0999c5081cae577903efef9111a4be (diff)
downloadcheatdb-16006874491d1e1492e1337a0e58db43236a7ffb.tar.xz
Add non-free warning
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c58136d..e1c0168 100644
--- a/setup.py
+++ b/setup.py
@@ -359,11 +359,16 @@ for tag in ["Inventory", "Mapgen", "Building", \
licenses = {}
for license in ["GPLv2.1", "GPLv3", "LGPLv2.1", "LGPLv3", "AGPLv2.1", "AGPLv3",
"Apache", "BSD 3-Clause", "BSD 2-Clause", "CC0", "CC-BY-SA",
- "CC-BY", "CC-BY-NC-SA", "MIT", "ZLib"]:
+ "CC-BY", "MIT", "ZLib"]:
row = License(license)
licenses[row.name] = row
db.session.add(row)
+for license in ["CC-BY-NC-SA"]:
+ row = License(license, False)
+ licenses[row.name] = row
+ db.session.add(row)
+
if test_data:
defineDummyData(licenses, tags, ruben)