tutor-notes 19.0.1__tar.gz → 19.0.2__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.
- tutor_notes-19.0.2/.hatch_build.py +21 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/PKG-INFO +3 -1
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/pyproject.toml +10 -2
- tutor_notes-19.0.2/tutornotes/__about__.py +1 -0
- tutor_notes-19.0.1/tutornotes/__about__.py +0 -1
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/.gitignore +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/LICENSE.txt +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/README.rst +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/__init__.py +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/caddyfile +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/k8s-deployments +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/k8s-jobs +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/k8s-services +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/kustomization-configmapgenerator +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-dev-services +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-jobs-services +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-permissions-command +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-permissions-volumes +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-services +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-common-settings +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-lms-common-settings +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-lms-development-settings +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-lms-production-settings +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/plugin.py +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/templates/notes/apps/settings/tutor.py +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/templates/notes/build/notes/Dockerfile +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/templates/notes/tasks/lms/init +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/templates/notes/tasks/mysql/init +0 -0
- {tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/templates/notes/tasks/notes/init +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# https://hatch.pypa.io/latest/how-to/config/dynamic-metadata/
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import typing as t
|
|
5
|
+
|
|
6
|
+
from hatchling.metadata.plugin.interface import MetadataHookInterface
|
|
7
|
+
|
|
8
|
+
HERE = os.path.dirname(__file__)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MetaDataHook(MetadataHookInterface):
|
|
12
|
+
def update(self, metadata: dict[str, t.Any]) -> None:
|
|
13
|
+
about = load_about()
|
|
14
|
+
metadata["version"] = about["__version__"]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def load_about() -> dict[str, str]:
|
|
18
|
+
about: dict[str, str] = {}
|
|
19
|
+
with open(os.path.join(HERE, "tutornotes", "__about__.py"), "rt", encoding="utf-8") as f:
|
|
20
|
+
exec(f.read(), about) # pylint: disable=exec-used
|
|
21
|
+
return about
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tutor-notes
|
|
3
|
-
Version: 19.0.
|
|
3
|
+
Version: 19.0.2
|
|
4
4
|
Summary: A Tutor plugin for student notes
|
|
5
5
|
Project-URL: Homepage, https://docs.tutor.edly.io/
|
|
6
6
|
Project-URL: Documentation, https://github.com/overhangio/tutor-notes#readme
|
|
@@ -26,6 +26,8 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
26
26
|
Requires-Python: >=3.9
|
|
27
27
|
Requires-Dist: tutor<20.0.0,>=19.0.0
|
|
28
28
|
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: black; extra == 'dev'
|
|
30
|
+
Requires-Dist: pylint; extra == 'dev'
|
|
29
31
|
Requires-Dist: tutor[dev]<20.0.0,>=19.0.0; extra == 'dev'
|
|
30
32
|
Description-Content-Type: text/x-rst
|
|
31
33
|
|
|
@@ -29,11 +29,18 @@ classifiers = [
|
|
|
29
29
|
dependencies = [
|
|
30
30
|
"tutor>=19.0.0,<20.0.0",
|
|
31
31
|
]
|
|
32
|
-
optional-dependencies = { dev = ["tutor[dev]>=19.0.0,<20.0.0"] }
|
|
33
32
|
|
|
34
33
|
# These fields will be set by hatch_build.py
|
|
35
34
|
dynamic = ["version"]
|
|
36
35
|
|
|
36
|
+
[project.optional-dependencies]
|
|
37
|
+
dev = [
|
|
38
|
+
"tutor[dev]>=19.0.0,<20.0.0",
|
|
39
|
+
"black",
|
|
40
|
+
"pylint"
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
|
|
37
44
|
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
|
|
38
45
|
[project.urls]
|
|
39
46
|
Homepage = "https://docs.tutor.edly.io/"
|
|
@@ -57,7 +64,8 @@ packages = ["tutornotes"]
|
|
|
57
64
|
[tool.hatch.build.targets.sdist]
|
|
58
65
|
# Disable strict naming, otherwise twine is not able to detect name/version
|
|
59
66
|
strict-naming = false
|
|
60
|
-
include = [ "/tutornotes"]
|
|
67
|
+
include = [ "/tutornotes", ".hatch_build.py"]
|
|
68
|
+
exclude = ["tests*"]
|
|
61
69
|
|
|
62
70
|
[project.entry-points."tutor.plugin.v1"]
|
|
63
71
|
notes = "tutornotes.plugin"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "19.0.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "19.0.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/kustomization-configmapgenerator
RENAMED
|
File without changes
|
{tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-dev-services
RENAMED
|
File without changes
|
{tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/local-docker-compose-jobs-services
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-lms-development-settings
RENAMED
|
File without changes
|
{tutor_notes-19.0.1 → tutor_notes-19.0.2}/tutornotes/patches/openedx-lms-production-settings
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|