]> git.lizzy.rs Git - cheatdb.git/blobdiff - setup.py
Use flexbox for responsive package grid
[cheatdb.git] / setup.py
index 0abbd52e1fd9b32bccb2cad3b4bdd8391455523a..2144190dfa8fb01ddc96cda9df7649dc6108b54e 100644 (file)
--- 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"