aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-19 20:20:05 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-19 20:20:05 +0100
commit6e1921f68b9cdef739cb1bd91b972a47fc7cf7b0 (patch)
treef236fa8f92de11957234e7d4f04f861632ba6e59 /setup.py
parent060d60ba4686a3299a774c824cc81916ebed3fba (diff)
downloadcheatdb-6e1921f68b9cdef739cb1bd91b972a47fc7cf7b0.tar.xz
Add release ID to JSON download
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 0abbd52..2144190 100644
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,29 @@ if not os.path.isfile("db.sqlite"):
licenses[row.name] = row
db.session.add(row)
+ mod = Package()
+ mod.approved = True
+ mod.name = "alpha"
+ mod.title = "Alpha Test"
+ mod.license = licenses["MIT"]
+ mod.type = PackageType.MOD
+ mod.author = ruben
+ mod.tags.append(tags["mapgen"])
+ mod.tags.append(tags["environment"])
+ mod.repo = "https://github.com/ezhh/other_worlds"
+ mod.issueTracker = "https://github.com/ezhh/other_worlds/issues"
+ mod.forums = 16015
+ mod.shortDesc = "The content library should not be used yet as it is still in alpha"
+ mod.desc = "This is the long desc"
+ db.session.add(mod)
+
+ rel = PackageRelease()
+ rel.package = mod
+ rel.title = "v1.0.0"
+ rel.url = "https://github.com/ezhh/handholds/archive/master.zip"
+ rel.approved = True
+ db.session.add(rel)
+
mod1 = Package()
mod1.approved = True
mod1.name = "awards"