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

Fixes to paths

parent baa2c5ed
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.5", version="0.1.18.6",
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.5 Version: 0.1.18.6
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
......
...@@ -56,7 +56,7 @@ def get_paths(): ...@@ -56,7 +56,7 @@ def get_paths():
'homepage_template': "%s/WEB/index_partial.html"%root_02450public, 'homepage_template': "%s/WEB/index_partial.html"%root_02450public,
'homepage_out': "%s/WEB/%sindex.html"%(root_02450public, sCE), 'homepage_out': "%s/WEB/%sindex.html"%(root_02450public, sCE),
'pdf_out': "%s/%spdf_out"%(root_02450public, sCE), 'pdf_out': "%s/%spdf_out"%(root_02450public, sCE),
'instructor': root_02450public + "/Exercises", 'exercises': root_02450public + "/Exercises", # this does not seem correct.
'shared_latex_compilation_dir': root_02450public + "/Exercises/LatexCompilationDir/Latex", 'shared_latex_compilation_dir': root_02450public + "/Exercises/LatexCompilationDir/Latex",
'book': root_02450public + "/MLBOOK/Latex", 'book': root_02450public + "/MLBOOK/Latex",
'lectures': root_02450public + "/Lectures", 'lectures': root_02450public + "/Lectures",
...@@ -66,6 +66,8 @@ def get_paths(): ...@@ -66,6 +66,8 @@ def get_paths():
'electronic_exam_handin_dir': semester_path + "/exam/electronic_handin", 'electronic_exam_handin_dir': semester_path + "/exam/electronic_handin",
'exam_results_template.xlsx': root_02450private +"/Exam/%s_results_TEMPLATE.xlsx"%num, 'exam_results_template.xlsx': root_02450private +"/Exam/%s_results_TEMPLATE.xlsx"%num,
'exam_instructions': root_02450public + "/ExamInstructions", 'exam_instructions': root_02450public + "/ExamInstructions",
'docs': root_02450public +"/src/docs",
'src': root_02450public + "/src",
} }
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']):
......
...@@ -52,6 +52,9 @@ def setup_student_files(run_files=True, ...@@ -52,6 +52,9 @@ def setup_student_files(run_files=True,
init_dest = students_irlc_tools+"/__init__.py" init_dest = students_irlc_tools+"/__init__.py"
shutil.copy(public_irlc_tools + "/__init__.py", init_dest) shutil.copy(public_irlc_tools + "/__init__.py", init_dest)
if os.path.isfile(public_irlc_tools + "/../.coveragerc"):
shutil.copy(public_irlc_tools + "/../.coveragerc", students_irlc_tools+ "/../.coveragerc")
# assert False
censor_file(init_dest) censor_file(init_dest)
# Check for exclusion mask. # Check for exclusion mask.
......
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