aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
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)