diff --git a/setup.py b/setup.py index 854990fa444293f331a6172acf1543c2baeed6d6..adea4d67c810b266cac64abb21dfd1de5cda0ae6 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh: # beamer-slider setuptools.setup( name="coursebox", - version="0.1.18.5", + version="0.1.18.6", author="Tue Herlau", author_email="tuhe@dtu.dk", description="A course management system currently used at DTU", diff --git a/src/coursebox.egg-info/PKG-INFO b/src/coursebox.egg-info/PKG-INFO index 5fd3021c5a6e9b787aeb41761e53d30f5ae6a26f..b2d8dc646134f57d3b31c90b134d812c654a2625 100644 --- a/src/coursebox.egg-info/PKG-INFO +++ b/src/coursebox.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: coursebox -Version: 0.1.18.5 +Version: 0.1.18.6 Summary: A course management system currently used at DTU Home-page: https://lab.compute.dtu.dk/tuhe/coursebox Author: Tue Herlau diff --git a/src/coursebox/core/info_paths.py b/src/coursebox/core/info_paths.py index 2bd47359137dcc3925a9815c1b02a7387e1e1ea9..22714ab0a3f758b9d1ff4c5010a5b1ac851f6d28 100644 --- a/src/coursebox/core/info_paths.py +++ b/src/coursebox/core/info_paths.py @@ -56,7 +56,7 @@ def get_paths(): 'homepage_template': "%s/WEB/index_partial.html"%root_02450public, 'homepage_out': "%s/WEB/%sindex.html"%(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", 'book': root_02450public + "/MLBOOK/Latex", 'lectures': root_02450public + "/Lectures", @@ -66,6 +66,8 @@ def get_paths(): 'electronic_exam_handin_dir': semester_path + "/exam/electronic_handin", 'exam_results_template.xlsx': root_02450private +"/Exam/%s_results_TEMPLATE.xlsx"%num, '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 not os.path.isdir(paths['instructor_project_evaluations']): diff --git a/src/coursebox/student_files/student_files.py b/src/coursebox/student_files/student_files.py index fe14b08578eff0c6532584311d7dde4ea25e266e..20ea4a0482275bbf4bef92cb377de88d5875013e 100644 --- a/src/coursebox/student_files/student_files.py +++ b/src/coursebox/student_files/student_files.py @@ -52,6 +52,9 @@ def setup_student_files(run_files=True, init_dest = students_irlc_tools+"/__init__.py" 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) # Check for exclusion mask.