koatl-kernel 1.0__tar.gz → 1.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.
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/PKG-INFO +11 -3
- koatl_kernel-1.0.2/README.md +8 -0
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/hatch_build.py +10 -6
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/koatl_kernel/__init__.py +1 -1
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/pyproject.toml +2 -1
- koatl_kernel-1.0/README.rst +0 -1
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/.gitignore +0 -0
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/LICENSE +0 -0
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/koatl_kernel/__main__.py +0 -0
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/koatl_kernel/kernel.py +0 -0
- {koatl_kernel-1.0 → koatl_kernel-1.0.2}/koatl_kernel/shell.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: koatl-kernel
|
3
|
-
Version: 1.0
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: Koatl kernel for Jupyter
|
5
5
|
Project-URL: Homepage, https://github.com/skkestrel/koatl
|
6
6
|
Author-email: Kevin <skkestrel@gmail.com>
|
@@ -32,9 +32,17 @@ Classifier: Programming Language :: Python :: 3
|
|
32
32
|
Requires-Python: >=3.8
|
33
33
|
Requires-Dist: ipykernel
|
34
34
|
Requires-Dist: jupyter-client
|
35
|
+
Requires-Dist: jupyter-console
|
35
36
|
Requires-Dist: koatl
|
36
37
|
Provides-Extra: test
|
37
38
|
Requires-Dist: jupyter-kernel-test; extra == 'test'
|
38
|
-
Description-Content-Type: text/
|
39
|
+
Description-Content-Type: text/markdown
|
39
40
|
|
40
|
-
This is the jupyter kernel for koatl.
|
41
|
+
This is the jupyter kernel for koatl.
|
42
|
+
|
43
|
+
Version number is in `koatl_kernel/__init__.py`
|
44
|
+
|
45
|
+
```
|
46
|
+
python3 -m build
|
47
|
+
python3 -m twine upload --repository pypi dist/*
|
48
|
+
```
|
@@ -12,12 +12,6 @@ import shutil
|
|
12
12
|
from jupyter_client.kernelspec import KernelSpecManager
|
13
13
|
from tempfile import TemporaryDirectory
|
14
14
|
|
15
|
-
kernel_json = {
|
16
|
-
"argv": [sys.executable, "-m", "koatl_kernel", "-f", "{connection_file}"],
|
17
|
-
"display_name": "Koatl",
|
18
|
-
"language": "koatl",
|
19
|
-
}
|
20
|
-
|
21
15
|
|
22
16
|
class CustomHook(BuildHookInterface):
|
23
17
|
def initialize(self, version, build_data):
|
@@ -25,6 +19,16 @@ class CustomHook(BuildHookInterface):
|
|
25
19
|
sys.path.insert(0, here)
|
26
20
|
prefix = os.path.join(here, "data_kernelspec")
|
27
21
|
|
22
|
+
kernel_json = {
|
23
|
+
"argv": [sys.executable, "-m", "koatl_kernel", "-f", "{connection_file}"],
|
24
|
+
"display_name": "Koatl",
|
25
|
+
"language": "koatl",
|
26
|
+
}
|
27
|
+
|
28
|
+
# taken from ipykernel
|
29
|
+
if version == "standard":
|
30
|
+
kernel_json["argv"][0] = "python"
|
31
|
+
|
28
32
|
with TemporaryDirectory() as td:
|
29
33
|
os.chmod(td, 0o755) # Starts off as 700, not user readable
|
30
34
|
with open(os.path.join(td, "kernel.json"), "w") as f:
|
@@ -10,7 +10,7 @@ dynamic = [
|
|
10
10
|
"version",
|
11
11
|
]
|
12
12
|
description = "Koatl kernel for Jupyter"
|
13
|
-
readme = "README.
|
13
|
+
readme = "README.md"
|
14
14
|
license = { file = "LICENSE" }
|
15
15
|
authors = [
|
16
16
|
{ name = "Kevin", email = "skkestrel@gmail.com" },
|
@@ -24,6 +24,7 @@ requires-python = ">=3.8"
|
|
24
24
|
dependencies = [
|
25
25
|
"ipykernel",
|
26
26
|
"jupyter_client",
|
27
|
+
"jupyter_console",
|
27
28
|
"koatl"
|
28
29
|
]
|
29
30
|
|
koatl_kernel-1.0/README.rst
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
This is the jupyter kernel for koatl.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|