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

tmp updates

parent 94ec3ae5
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="coursebox",
version="0.1.20.1",
version="0.1.20.3",
author="Tue Herlau",
author_email="tuhe@dtu.dk",
description="A course management system currently used at DTU",
......
Metadata-Version: 2.1
Name: coursebox
Version: 0.1.20.1
Version: 0.1.20.3
Summary: A course management system currently used at DTU
Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
Author: Tue Herlau
......
......@@ -23,18 +23,21 @@ def setup_student_files(run_files=True,
midterms=None, # Can be a list: [0, 1]
include_docs=False, # Include the documentation directory, i.e. 02465public/src/docs.
convert_svg=True, # Whether to convert SVG file when deploying. Leave to true, unless we are doing CI/CD in which case inkscape may not be installed.
package="cp",
# package="cp",
# fix_shared_files_func=None,
):
if midterms is None:
midterms = []
from coursebox.core import info_paths
# from coursebox.core.info import class_information
from coursebox.core.info import class_information
# info = class_information()
from coursebox.core.info import core_conf
PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
# if 'package' not in core_conf:
if len(core_conf['projects_all']) > 0:
PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
else:
PACKAGE = list(core_conf['weeks_all'].values()).pop()['module_public'].split(".")[0]
if censor_files:
assert not run_files, "You cannot run files while you are censoring them -- your scripts will crash. Call with run_files=False."
......@@ -158,8 +161,6 @@ def setup_student_files(run_files=True,
if len(hws) > 0:
info = class_information(verbose=verbose)
# print("references") # Bad idea because of the very long output.
# print(info['references']['commands'])
else:
info = None
for hw in hws:
......
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