txl_console 0.2.4__tar.gz → 0.2.6__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,3 +1,4 @@
1
1
  __pycache__
2
+
2
3
  # pixi environments
3
4
  .pixi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: txl_console
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: TXL plugin for a Jupyter console
5
5
  Project-URL: Source, https://github.com/davidbrochart/jpterm/plugins/console
6
6
  Author-email: David Brochart <david.brochart@gmail.com>
@@ -0,0 +1 @@
1
+ __version__ = "0.2.6"
@@ -1,7 +1,7 @@
1
1
  from functools import partial
2
+ from importlib.metadata import entry_points
2
3
  from typing import Any
3
4
 
4
- import pkg_resources
5
5
  from asphalt.core import Component, Context
6
6
  from pycrdt import ArrayEvent, Doc
7
7
  from textual.containers import VerticalScroll
@@ -11,7 +11,7 @@ from textual.widgets import Select
11
11
 
12
12
  from txl.base import CellFactory, Console, Kernels, Kernelspecs, Launcher, MainArea
13
13
 
14
- ydocs = {ep.name: ep.load() for ep in pkg_resources.iter_entry_points(group="jupyter_ydoc")}
14
+ ydocs = {ep.name: ep.load() for ep in entry_points(group="jupyter_ydoc")}
15
15
 
16
16
 
17
17
  class ConsoleMeta(type(Console), type(VerticalScroll)):
@@ -1 +0,0 @@
1
- __version__ = "0.2.4"
File without changes
File without changes
File without changes