Skip to content
Snippets Groups Projects
Commit 61ec4d14 authored by tuhe's avatar tuhe
Browse files

admin stuff and init

parent a0d2bc35
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh: ...@@ -15,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
# beamer-slider # beamer-slider
setuptools.setup( setuptools.setup(
name="coursebox", name="coursebox",
version="0.1.18.10", version="0.1.18.13",
author="Tue Herlau", author="Tue Herlau",
author_email="tuhe@dtu.dk", author_email="tuhe@dtu.dk",
description="A course management system currently used at DTU", description="A course management system currently used at DTU",
......
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: coursebox Name: coursebox
Version: 0.1.18.10 Version: 0.1.18.13
Summary: A course management system currently used at DTU Summary: A course management system currently used at DTU
Home-page: https://lab.compute.dtu.dk/tuhe/coursebox Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
Author: Tue Herlau Author: Tue Herlau
......
...@@ -10,6 +10,8 @@ src/coursebox.egg-info/SOURCES.txt ...@@ -10,6 +10,8 @@ src/coursebox.egg-info/SOURCES.txt
src/coursebox.egg-info/dependency_links.txt src/coursebox.egg-info/dependency_links.txt
src/coursebox.egg-info/requires.txt src/coursebox.egg-info/requires.txt
src/coursebox.egg-info/top_level.txt src/coursebox.egg-info/top_level.txt
src/coursebox/admin/__init__.py
src/coursebox/admin/gitlab.py
src/coursebox/book/__init__.py src/coursebox/book/__init__.py
src/coursebox/book/exam_includer.py src/coursebox/book/exam_includer.py
src/coursebox/core/__init__.py src/coursebox/core/__init__.py
......
...@@ -69,6 +69,9 @@ def get_paths(): ...@@ -69,6 +69,9 @@ def get_paths():
'docs': root_02450public +"/src/docs", 'docs': root_02450public +"/src/docs",
'src': root_02450public + "/src", 'src': root_02450public + "/src",
} }
if not os.path.isdir(paths['book']):
paths['book'] = root_02450public + "/Notes/Latex"
if os.path.exists(os.path.dirname(paths['instructor_project_evaluations'])): if os.path.exists(os.path.dirname(paths['instructor_project_evaluations'])):
if not os.path.isdir(paths['instructor_project_evaluations']): if not os.path.isdir(paths['instructor_project_evaluations']):
os.mkdir(paths['instructor_project_evaluations']) os.mkdir(paths['instructor_project_evaluations'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment