Skip to content

Commit 6e1f32d

Browse files
committed
Release 0.2.2
1 parent 3669433 commit 6e1f32d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

ipytree/_version.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
version_info = (0, 2, 1)
1+
version_info = (0, 2, 2)
22
__version__ = '%s.%s.%s'%(version_info[0], version_info[1], version_info[2])
3+
4+
module_version = "^0.2"

ipytree/tree.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Bool, Int, Unicode, Enum, Tuple, Instance
55
)
66
import uuid
7-
from ._version import __version__
7+
from ._version import module_version
88

99

1010
def id_gen():
@@ -18,8 +18,8 @@ class Node(Widget):
1818
_model_name = Unicode('NodeModel').tag(sync=True)
1919
_view_module = Unicode('ipytree').tag(sync=True)
2020
_model_module = Unicode('ipytree').tag(sync=True)
21-
_view_module_version = Unicode(__version__).tag(sync=True)
22-
_model_module_version = Unicode(__version__).tag(sync=True)
21+
_view_module_version = Unicode(module_version).tag(sync=True)
22+
_model_module_version = Unicode(module_version).tag(sync=True)
2323

2424
_style_values = [
2525
"warning", "danger", "success", "info", "default"
@@ -81,8 +81,8 @@ class Tree(DOMWidget):
8181
_model_name = Unicode('TreeModel').tag(sync=True)
8282
_view_module = Unicode('ipytree').tag(sync=True)
8383
_model_module = Unicode('ipytree').tag(sync=True)
84-
_view_module_version = Unicode(__version__).tag(sync=True)
85-
_model_module_version = Unicode(__version__).tag(sync=True)
84+
_view_module_version = Unicode(module_version).tag(sync=True)
85+
_model_module_version = Unicode(module_version).tag(sync=True)
8686

8787
nodes = Tuple().tag(trait=Instance(Node), sync=True, **widget_serialization)
8888
multiple_selection = Bool(True, read_only=True).tag(sync=True)

js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ipytree",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "A Tree Widget using jsTree",
55
"author": "Martin Renou",
66
"license": "MIT",

0 commit comments

Comments
 (0)