Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coursebox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tuhe
coursebox
Commits
47e544f3
Commit
47e544f3
authored
8 months ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
tmp updates
parent
94ec3ae5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.py
+1
-1
1 addition, 1 deletion
setup.py
src/coursebox.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
src/coursebox.egg-info/PKG-INFO
src/coursebox/student_files/student_files.py
+7
-6
7 additions, 6 deletions
src/coursebox/student_files/student_files.py
with
9 additions
and
8 deletions
setup.py
+
1
−
1
View file @
47e544f3
...
...
@@ -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
"
,
...
...
This diff is collapsed.
Click to expand it.
src/coursebox.egg-info/PKG-INFO
+
1
−
1
View file @
47e544f3
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
...
...
This diff is collapsed.
Click to expand it.
src/coursebox/student_files/student_files.py
+
7
−
6
View file @
47e544f3
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment