Skip to content

Commit 0cab3cf

Browse files
committed
Rename examples (more simple structure)
* BasicMinimalPy to BasicPy * BasicMinimalC++ to BasicC++ * BasicPy to IntermediatePy * IntermediatePy to AdvancedPy
1 parent b869b5d commit 0cab3cf

File tree

110 files changed

+155
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+155
-155
lines changed

.github/workflows/wasm.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@ jobs:
7171
export PATH=$PATH:${{ github.workspace }}/Qt/6.7.2/wasm_singlethread/bin
7272
qmake -v
7373
74-
- name: Build WASM from BasicMinimalC++ example
74+
- name: Build WASM from BasicC++ example
7575
shell: bash
7676
run: |
7777
source ${{ github.workspace }}/emsdk/emsdk_env.sh
7878
export PATH=$PATH:${{ github.workspace }}/Qt/6.7.2/wasm_singlethread/bin
79-
cd examples/BasicMinimalC++/src
80-
qmake BasicMinimalC++.pro -spec wasm-emscripten
79+
cd examples/BasicC++/src
80+
qmake BasicC++.pro -spec wasm-emscripten
8181
make -j
8282
8383
- name: Copy the built WASM to the build/wasm folder
8484
shell: bash
8585
run: |
8686
mkdir -p build/wasm
87-
cp examples/BasicMinimalC++/src/*.wasm build/wasm
88-
cp examples/BasicMinimalC++/src/*.html build/wasm
89-
cp examples/BasicMinimalC++/src/*.js build/wasm
90-
cp examples/BasicMinimalC++/src/*.svg build/wasm
87+
cp examples/BasicC++/src/*.wasm build/wasm
88+
cp examples/BasicC++/src/*.html build/wasm
89+
cp examples/BasicC++/src/*.js build/wasm
90+
cp examples/BasicC++/src/*.svg build/wasm
9191
9292
- name: Upload the zipped wasm folder
9393
uses: actions/upload-artifact@v4

EXAMPLES.md

Lines changed: 9 additions & 9 deletions

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.

examples/IntermediatePy/README.md renamed to examples/AdvancedPy/README.md

Lines changed: 6 additions & 6 deletions

examples/IntermediatePy/pyproject.toml renamed to examples/AdvancedPy/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ['hatchling']
33
build-backend = 'hatchling.build'
44

55
[project]
6-
name = 'intermediatepy'
6+
name = 'advancedpy'
77
version = '1.0.0'
8-
description = 'Example of a desktop application of intermediate complexity with a Python backend and EasyApp-based GUI'
8+
description = 'Example of a desktop application of advanced complexity with Python backend and EasyApp-based GUI'
99
authors = [
1010
{name = 'Andrew Sazonov', email = '[email protected]'}
1111
]
@@ -29,8 +29,8 @@ ci = [
2929
]
3030

3131
[project.urls]
32-
homepage = 'https://github.com/EasyScience/EasyApp/tree/master/examples/IntermediatePy'
32+
homepage = 'https://github.com/EasyScience/EasyApp/tree/master/examples/AdvancedPy'
3333

3434
[tool.hatch.build.targets.wheel]
35-
packages = ['src/IntermediatePy']
35+
packages = ['src/AdvancedPy']
3636
#artifacts = ['*.py', '*.qml', 'qmldir']
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "\033[0;34m:::::: Installing python wheel from 'dist/wheel'\033[0m"
2+
python3 -m pip install advancedpy --force-reinstall --find-links=dist/wheel
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"files": [
3+
"AdvancedPy.qmlproject",
4+
"AdvancedPy/main.py",
5+
"AdvancedPy/main.qml",
6+
"AdvancedPy/Gui/qmldir",
7+
"AdvancedPy/Gui/ApplicationWindow.qml",
8+
"AdvancedPy/Gui/StatusBar.qml",
9+
"AdvancedPy/Gui/Globals/qmldir",
10+
"AdvancedPy/Gui/Globals/ApplicationInfo.qml",
11+
"AdvancedPy/Gui/Globals/BackendWrapper.qml",
12+
"AdvancedPy/Gui/Globals/References.qml",
13+
"AdvancedPy/Gui/Pages/Home/Content.qml",
14+
"AdvancedPy/Gui/Pages/Home/Popups/About.qml",
15+
"AdvancedPy/Gui/Pages/Project/Layout.qml",
16+
"AdvancedPy/Gui/Pages/Project/MainArea/Description.qml",
17+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Layout.qml",
18+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Groups/Examples.qml",
19+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Groups/GetStarted.qml",
20+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Groups/Recent.qml",
21+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Popups/OpenCifFile.qml",
22+
"AdvancedPy/Gui/Pages/Project/Sidebar/Basic/Popups/ProjectDescription.qml",
23+
"AdvancedPy/Gui/Pages/Project/Sidebar/Extra/Layout.qml",
24+
"AdvancedPy/Gui/Pages/Project/Sidebar/Extra/Groups/Scrolling.qml",
25+
"AdvancedPy/Gui/Pages/Project/Sidebar/Text/Layout.qml",
26+
"AdvancedPy/Gui/Pages/Report/Layout.qml",
27+
"AdvancedPy/Gui/Pages/Report/MainArea/Summary.qml",
28+
"AdvancedPy/Gui/Pages/Report/Sidebar/Basic/Layout.qml",
29+
"AdvancedPy/Gui/Pages/Report/Sidebar/Basic/Groups/Export.qml",
30+
"AdvancedPy/Gui/Pages/Report/Sidebar/Extra/Layout.qml",
31+
"AdvancedPy/Gui/Pages/Report/Sidebar/Extra/Groups/Empty.qml",
32+
"AdvancedPy/Backends/qmldir",
33+
"AdvancedPy/Backends/MockBackend.qml",
34+
"AdvancedPy/Backends/MockQml/Project.qml",
35+
"AdvancedPy/Backends/MockQml/Report.qml",
36+
"AdvancedPy/Backends/MockQml/Status.qml",
37+
"AdvancedPy/Backends/MockQml/qmldir",
38+
"AdvancedPy/Backends/real_backend.py",
39+
"AdvancedPy/Backends/real_py/helpers.py",
40+
"AdvancedPy/Backends/real_py/project.py",
41+
"AdvancedPy/Backends/real_py/report.py",
42+
"AdvancedPy/Backends/real_py/status.py"
43+
]
44+
}

0 commit comments

Comments
 (0)