learnlog 0.20__tar.gz → 0.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: learnlog
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22
|
|
4
4
|
Summary: Automatic logging of student code development and test runs
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -15,11 +15,12 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Classifier: Intended Audience :: Education
|
|
16
16
|
Classifier: Topic :: Education
|
|
17
17
|
Requires-Dist: pylint (>=4.0)
|
|
18
|
-
Requires-Dist: pytorial (>=0.8,<0.9)
|
|
18
|
+
Requires-Dist: pytorial (>=0.8.1,<0.9)
|
|
19
19
|
Requires-Dist: radon (>=6.0)
|
|
20
20
|
Requires-Dist: ruff (>=0.16)
|
|
21
21
|
Requires-Dist: typer (>=0.9.0)
|
|
22
22
|
Requires-Dist: virtualenv (>=20)
|
|
23
|
+
Requires-Dist: windows-curses (>=2.3) ; sys_platform == "win32"
|
|
23
24
|
Project-URL: Bug Tracker, https://github.com/dbosk/learnlog/issues
|
|
24
25
|
Project-URL: Repository, https://github.com/dbosk/learnlog
|
|
25
26
|
Description-Content-Type: text/markdown
|
|
@@ -33,6 +34,31 @@ program run is recorded transparently: source code changes, command-line
|
|
|
33
34
|
arguments, standard input/output/error, and unhandled exceptions. The data is
|
|
34
35
|
stored in a hidden local Git repository.
|
|
35
36
|
|
|
37
|
+
## Activating a project
|
|
38
|
+
|
|
39
|
+
After `learnlog init python`, activate the project environment in bash:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
eval "$(learnlog activate)"
|
|
43
|
+
# When finished:
|
|
44
|
+
eval "$(learnlog deactivate)"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
In Windows PowerShell:
|
|
48
|
+
|
|
49
|
+
```powershell
|
|
50
|
+
learnlog activate | Invoke-Expression
|
|
51
|
+
# When finished:
|
|
52
|
+
learnlog deactivate | Invoke-Expression
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
If PowerShell blocks activation scripts, run
|
|
56
|
+
`Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` once for your user.
|
|
57
|
+
Use `--shell bash`, `--shell powershell`, or `--shell cmd` to choose the
|
|
58
|
+
syntax explicitly. The commands print code for that shell to execute.
|
|
59
|
+
Interactive tutorial shell steps need WSL on Windows; `learnlog tutorial list`
|
|
60
|
+
works natively.
|
|
61
|
+
|
|
36
62
|
## Use cases
|
|
37
63
|
|
|
38
64
|
- **Sharing live-coding sessions.**
|
|
@@ -7,6 +7,31 @@ program run is recorded transparently: source code changes, command-line
|
|
|
7
7
|
arguments, standard input/output/error, and unhandled exceptions. The data is
|
|
8
8
|
stored in a hidden local Git repository.
|
|
9
9
|
|
|
10
|
+
## Activating a project
|
|
11
|
+
|
|
12
|
+
After `learnlog init python`, activate the project environment in bash:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
eval "$(learnlog activate)"
|
|
16
|
+
# When finished:
|
|
17
|
+
eval "$(learnlog deactivate)"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
In Windows PowerShell:
|
|
21
|
+
|
|
22
|
+
```powershell
|
|
23
|
+
learnlog activate | Invoke-Expression
|
|
24
|
+
# When finished:
|
|
25
|
+
learnlog deactivate | Invoke-Expression
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
If PowerShell blocks activation scripts, run
|
|
29
|
+
`Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` once for your user.
|
|
30
|
+
Use `--shell bash`, `--shell powershell`, or `--shell cmd` to choose the
|
|
31
|
+
syntax explicitly. The commands print code for that shell to execute.
|
|
32
|
+
Interactive tutorial shell steps need WSL on Windows; `learnlog tutorial list`
|
|
33
|
+
works natively.
|
|
34
|
+
|
|
10
35
|
## Use cases
|
|
11
36
|
|
|
12
37
|
- **Sharing live-coding sessions.**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "learnlog"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.22"
|
|
4
4
|
description = "Automatic logging of student code development and test runs"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
readme = "README.md"
|
|
@@ -18,7 +18,7 @@ classifiers = [
|
|
|
18
18
|
"Topic :: Education"
|
|
19
19
|
]
|
|
20
20
|
requires-python = ">=3.10,<4.0"
|
|
21
|
-
dependencies = ["typer>=0.9.0", "virtualenv>=20", "pytorial (>=0.8,<0.9)", "radon (>=6.0)", "pylint (>=4.0)", "ruff (>=0.16)"]
|
|
21
|
+
dependencies = ["typer>=0.9.0", "virtualenv>=20", "pytorial (>=0.8.1,<0.9)", "radon (>=6.0)", "pylint (>=4.0)", "ruff (>=0.16)", "windows-curses (>=2.3) ; sys_platform == 'win32'"]
|
|
22
22
|
|
|
23
23
|
[project.scripts]
|
|
24
24
|
learnlog = "learnlog.cli:app"
|
|
@@ -29,9 +29,13 @@ repository = "https://github.com/dbosk/learnlog"
|
|
|
29
29
|
|
|
30
30
|
[tool.poetry]
|
|
31
31
|
packages = [{include = "learnlog", from = "src"}]
|
|
32
|
+
# The tutorial catalog is tangled (gitignored), so it must be included
|
|
33
|
+
# explicitly; the glob starts with a lowercase letter because include
|
|
34
|
+
# beats exclude, and a stray CLAUDE.md in that directory would otherwise
|
|
35
|
+
# ship in the wheel.
|
|
32
36
|
include = [
|
|
33
37
|
{path = "src/**/*.py", format = "wheel"},
|
|
34
|
-
{path = "src/learnlog/tutorials
|
|
38
|
+
{path = "src/learnlog/tutorials/[a-z]*.md", format = "wheel"},
|
|
35
39
|
]
|
|
36
40
|
exclude = [
|
|
37
41
|
"src/learnlog/.gitignore",
|
|
@@ -39,6 +43,7 @@ exclude = [
|
|
|
39
43
|
"src/learnlog/*.nw",
|
|
40
44
|
"src/learnlog/*.tex",
|
|
41
45
|
"src/learnlog/students.md",
|
|
46
|
+
"src/learnlog/tutorials/Makefile",
|
|
42
47
|
"src/learnlog/tutorials/*.nw",
|
|
43
48
|
"src/learnlog/tutorials/*.tex",
|
|
44
49
|
"src/learnlog/ltxobj",
|
|
File without changes
|