Skip to content

Commit 6a74e61

Browse files
authored
Merge pull request #18 from Integrated-Testing-Environment/dev
Update stable and dev version
2 parents 46ef5f7 + 2570e67 commit 6a74e61

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
---
99
## What is ITE
1010
> Project Kanban \
11-
> https://github.com/users/JE-Chen/projects/35 \
11+
> https://github.com/orgs/Integrated-Testing-Environment/projects/4/views/1 \
1212
> Integrated Testing Environment (ITE)
1313
> * ITE mainly provides an integrated automated testing environment.
1414
> * ITE is composed of the following components:

stable.toml renamed to dev.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Rename to build stable version
2-
# This is stable version
1+
# Rename to dev version
2+
# This is dev version
33
[build-system]
44
requires = ["setuptools>=61.0"]
55
build-backend = "setuptools.build_meta"
66

77
[project]
8-
name = "integration_testing_environment"
9-
version = "0.0.18"
8+
name = "integration_testing_environment_dev"
9+
version = "0.0.20"
1010
authors = [
1111
{ name = "JE-Chen", email = "zenmailman@gmail.com" },
1212
]
@@ -39,4 +39,4 @@ only_test_extension = ["je_auto_control", "je_web_runner", "je_load_density", "j
3939
"Homepage" = "https://github.com/JE-Chen/Integration-testing-environment"
4040

4141
[tool.setuptools.packages]
42-
find = { }
42+
find = { namespaces = false }

integration_testing_environment/integration_testing_environment_ui/editor/extend_je_editor_ui.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from je_editor import EditorMain
1+
from je_editor import TkinterEditor, PySideEditor
22

33
from integration_testing_environment.integration_testing_environment_ui.editor \
44
.ite_content_init.ite_content_init import content_init
@@ -7,7 +7,7 @@
77
from integration_testing_environment.utils.content.content_save import save_content_and_quit
88

99

10-
class ITEUI(EditorMain):
10+
class ITETkinterUI(TkinterEditor):
1111

1212
def __init__(self, use_theme=None, debug=False, **kwargs):
1313
super().__init__(use_theme, debug, **kwargs)
@@ -20,8 +20,17 @@ def before_close_event(self):
2020
save_content_and_quit()
2121

2222

23-
def start_ite(use_theme=None, debug: bool = False, **kwargs):
24-
ite_ui: ITEUI = ITEUI(use_theme=use_theme, debug=debug, **kwargs)
23+
class ITEPySide(PySideEditor):
24+
25+
def __init__(self):
26+
super(ITEPySide, self).__init__()
27+
28+
29+
def start_ite(editor: str = "tkinter", use_theme=None, debug=False, **kwargs):
30+
if editor == "pyside":
31+
pass
32+
else:
33+
ite_ui: ITETkinterUI = ITETkinterUI(use_theme=use_theme, debug=debug, **kwargs)
2534
if not debug:
2635
# set use ui is true then we will redirect output to ui
2736
# set some editor setting start main loop

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Rename to dev version
2-
# This is dev version
1+
# Rename to build stable version
2+
# This is stable version
33
[build-system]
44
requires = ["setuptools>=61.0"]
55
build-backend = "setuptools.build_meta"
66

77
[project]
8-
name = "integration_testing_environment_dev"
8+
name = "integration_testing_environment"
99
version = "0.0.19"
1010
authors = [
1111
{ name = "JE-Chen", email = "zenmailman@gmail.com" },
@@ -39,4 +39,4 @@ only_test_extension = ["je_auto_control", "je_web_runner", "je_load_density", "j
3939
"Homepage" = "https://github.com/JE-Chen/Integration-testing-environment"
4040

4141
[tool.setuptools.packages]
42-
find = { }
42+
find = { namespaces = false }

0 commit comments

Comments
 (0)