Skip to content

Commit de5b0a0

Browse files
committed
[deploy] delay tkinter import when calling neurojgui, bump 0.8.1
1 parent ea301ac commit de5b0a0

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Copyright: (C) Qianqian Fang (2019-2025) <q.fang at neu.edu>
66
- License: Apache License, Version 2.0
7-
- Version: 0.8.0
7+
- Version: 0.8.1
88
- URL: https://github.com/NeuroJSON/pyjdata
99
- Acknowledgement: This project is supported by US National Institute of Health (NIH)
1010
grant [U24-NS124027](https://reporter.nih.gov/project-details/10308329)

jdata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121

122122
from .neurojson import neuroj, neurojgui
123123

124-
__version__ = "0.8.0"
124+
__version__ = "0.8.1"
125125
__all__ = [
126126
"loadjson",
127127
"savejson",

jdata/neurojson.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,13 @@ class neurojgui:
284284
GUI class for NeuroJSON browser
285285
"""
286286

287-
import tkinter as tk
288-
from tkinter import messagebox
289-
290287
def __init__(self):
288+
import tkinter as tk
289+
from tkinter import messagebox
290+
291+
self.tk = tk
292+
self.messagebox = messagebox
293+
291294
self.root = self.tk.Tk()
292295
self.root.title("NeuroJSON.io Dataset Browser")
293296
self.root.geometry("800x600")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setup(
77
name="jdata",
88
packages=["jdata"],
9-
version="0.8.0",
9+
version="0.8.1",
1010
license="Apache license 2.0",
1111
description="JSON/binary JSON formats for exchanging Python and Numpy data",
1212
long_description=readme,

0 commit comments

Comments
 (0)