From b7fcaeb1be553d530b1f60ef83d45672fc937969 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sat, 14 Nov 2020 17:20:59 +0100
Subject: [PATCH] Enable pypi build

---
 .gitlab-ci.yml | 2 ++
 pyproject.toml | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1224312a..95575095 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,3 +5,5 @@ include:
       file: /ci/test.yml
     - project: "AlekSIS/official/AlekSIS"
       file: /ci/build_dist.yml
+    - project: "AlekSIS/official/AlekSIS"
+      file: /ci/deploy_pypi.yml
diff --git a/pyproject.toml b/pyproject.toml
index f6ae6b89..0ee1888d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,10 +24,15 @@ classifiers = [
     "Typing :: Typed",
 ]
 
+[[tool.poetry.source]]
+name = "gitlab"
+url = "https://edugit.org/api/v4/projects/461/packages/pypi"
+secondary = true
+
 [tool.poetry.dependencies]
 python = "^3.7"
 calendarweek = "^0.4.6"
-AlekSIS = { git = "https://edugit.org/AlekSIS/official/AlekSIS" }
+AlekSIS-Core = "^2.0"
 
 [tool.poetry.dev-dependencies]
 sphinx = "^3.0"
-- 
GitLab