From 362d8b5f7449d38bb1b34e820a86ab6e2fca279c Mon Sep 17 00:00:00 2001 From: maktak-105 Date: Sat, 22 Aug 2026 12:11:50 +0900 Subject: [PATCH] =?UTF-8?q?Python=20=E3=82=92=20python/=20=E9=85=8D?= =?UTF-8?q?=E4=B8=8B=E3=81=AB=E7=B5=B1=E4=B8=80=E3=81=97=E3=80=81Linguist?= =?UTF-8?q?=20=E3=83=AB=E3=83=BC=E3=83=AB=E3=82=92=E4=BD=9C=E3=82=8A?= =?UTF-8?q?=E7=9B=B4=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ルートに置いてよい Python は build_native.py と bundle_html.py だけ。 試作は python/prototype/、FastAPI は python/browser/、テストは python/tests/。 .gitattributes は python/** linguist-vendored に揃える。 --- .gitattributes | 7 +++---- .gitignore | 10 +++++----- README.md | 9 +++++---- README_jp.md | 9 +++++---- benchmark/README.md | 11 ----------- core/native/README.md | 6 ++---- document/environment.md | 9 +++++---- document/environment_jp.md | 9 +++++---- python/benchmark/README.md | 11 +++++++++++ .../benchmark}/generate_dataset.py | 0 .../benchmark}/results/fastcopy_comparison.md | 0 .../benchmark}/results/final_comparison.md | 0 .../benchmark}/results/large_files_benchmark.md | 0 .../benchmark}/results/small_files_benchmark.md | 0 .../benchmark}/run_benchmark.py | 0 {prototype/python => python/prototype}/build_exe.ps1 | 0 .../prototype}/nuitka-crash-report.xml | 0 {prototype/python => python/prototype}/pyproject.toml | 0 .../python => python/prototype}/requirements.txt | 0 {prototype/python => python/prototype}/run_cli.py | 0 {prototype/python => python/prototype}/run_gui.py | 0 .../prototype}/src/fastestcopy/__init__.py | 0 .../prototype}/src/fastestcopy/cli.py | 0 .../prototype}/src/fastestcopy/engine/__init__.py | 0 .../prototype}/src/fastestcopy/engine/copier.py | 0 .../prototype}/src/fastestcopy/engine/diskspace.py | 0 .../prototype}/src/fastestcopy/engine/planner.py | 0 .../prototype}/src/fastestcopy/engine/policy.py | 0 .../prototype}/src/fastestcopy/engine/preview.py | 0 .../prototype}/src/fastestcopy/engine/scanner.py | 0 .../prototype}/src/fastestcopy/engine/stats.py | 0 .../prototype}/src/fastestcopy/engine/winio.py | 0 .../prototype}/src/fastestcopy/gui/__init__.py | 0 .../prototype}/src/fastestcopy/gui/app.py | 0 .../prototype}/src/fastestcopy/gui/copy_dialog.py | 0 .../prototype}/src/fastestcopy/gui/copy_log.py | 0 .../prototype}/src/fastestcopy/gui/drives.py | 0 .../prototype}/src/fastestcopy/gui/elevate.py | 0 .../prototype}/src/fastestcopy/gui/file_pane.py | 0 .../prototype}/src/fastestcopy/gui/help_content.py | 0 .../prototype}/src/fastestcopy/gui/help_dialog.py | 0 .../prototype}/src/fastestcopy/gui/i18n.py | 0 .../prototype}/src/fastestcopy/gui/main_window.py | 0 .../prototype}/src/fastestcopy/gui/netbrowse.py | 0 .../prototype}/src/fastestcopy/gui/settings_dialog.py | 0 .../python => python/prototype}/tests/test_elevate.py | 0 .../python => python/prototype}/tests/test_engine.py | 0 .../prototype}/tests/test_file_pane.py | 0 .../python => python/prototype}/tests/test_i18n.py | 0 .../prototype}/tests/test_main_window.py | 0 {core/native => python}/tests/benchmark_native.py | 2 +- {core/native => python}/tests/native_smoke.py | 2 +- 52 files changed, 43 insertions(+), 42 deletions(-) delete mode 100644 benchmark/README.md create mode 100644 python/benchmark/README.md rename {benchmark/legacy_python => python/benchmark}/generate_dataset.py (100%) rename {benchmark/legacy_python => python/benchmark}/results/fastcopy_comparison.md (100%) rename {benchmark/legacy_python => python/benchmark}/results/final_comparison.md (100%) rename {benchmark/legacy_python => python/benchmark}/results/large_files_benchmark.md (100%) rename {benchmark/legacy_python => python/benchmark}/results/small_files_benchmark.md (100%) rename {benchmark/legacy_python => python/benchmark}/run_benchmark.py (100%) rename {prototype/python => python/prototype}/build_exe.ps1 (100%) rename {prototype/python => python/prototype}/nuitka-crash-report.xml (100%) rename {prototype/python => python/prototype}/pyproject.toml (100%) rename {prototype/python => python/prototype}/requirements.txt (100%) rename {prototype/python => python/prototype}/run_cli.py (100%) rename {prototype/python => python/prototype}/run_gui.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/__init__.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/cli.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/__init__.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/copier.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/diskspace.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/planner.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/policy.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/preview.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/scanner.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/stats.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/engine/winio.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/__init__.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/app.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/copy_dialog.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/copy_log.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/drives.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/elevate.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/file_pane.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/help_content.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/help_dialog.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/i18n.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/main_window.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/netbrowse.py (100%) rename {prototype/python => python/prototype}/src/fastestcopy/gui/settings_dialog.py (100%) rename {prototype/python => python/prototype}/tests/test_elevate.py (100%) rename {prototype/python => python/prototype}/tests/test_engine.py (100%) rename {prototype/python => python/prototype}/tests/test_file_pane.py (100%) rename {prototype/python => python/prototype}/tests/test_i18n.py (100%) rename {prototype/python => python/prototype}/tests/test_main_window.py (100%) rename {core/native => python}/tests/benchmark_native.py (99%) rename {core/native => python}/tests/native_smoke.py (99%) diff --git a/.gitattributes b/.gitattributes index e236dd0..dbaecd2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,3 @@ -# Shipped product is C++ / WebView2. Keep the Python prototype and legacy -# benchmarks in the repository, but exclude them from GitHub Linguist stats. -prototype/** linguist-vendored -benchmark/legacy_python/** linguist-vendored +# Shipped product is C++ / WebView2. +# All non-build Python lives under python/ and is excluded from Linguist. +python/** linguist-vendored diff --git a/.gitignore b/.gitignore index dcae670..61ce5e7 100644 --- a/.gitignore +++ b/.gitignore @@ -26,13 +26,13 @@ dist/binary/* dist/*.zip # Benchmark data generated on local machines -benchmark/testdata/ -benchmark/**/results/*.json +python/benchmark/testdata/ +python/benchmark/**/results/*.json # Prototype build outputs -prototype/python/*.dist/ -prototype/python/*.build/ -prototype/python/*.onefile-build/ +python/prototype/*.dist/ +python/prototype/*.build/ +python/prototype/*.onefile-build/ # Reference repositories and logs reference/ diff --git a/README.md b/README.md index 8e3089e..476b73b 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ The default WebView2 SDK root is `C:\tools\webview2\build\native`. Override it w Build outputs are written to `dist\binary`. Run the smoke tests after building: ```powershell -python core\native\tests\native_smoke.py +python python\tests\native_smoke.py ``` Detailed specifications and build notes are in [`document/`](document/). @@ -89,14 +89,15 @@ Detailed specifications and build notes are in [`document/`](document/). ## Project layout ```text -core/native/ C++ engine, GUI host, CLI, resources, and native tests +core/native/ C++ engine, GUI host, CLI, and resources +python/prototype/ archived Python/PySide6 prototype +python/tests/ native CLI smoke and benchmark runners +python/benchmark/ historical Python prototype measurements templates/ self-contained WebView2 development UI static/ reserved CSS/JS/image source area assets/ icon sources and future public screenshots document/ specification, environment, and version information plans/ dated implementation plans and results -benchmark/ reproducible benchmarks and measurement notes -prototype/python/ archived Python/PySide6 prototype dist/binary/ generated binaries, excluded from source control dist/documents/ user-facing distribution documents ``` diff --git a/README_jp.md b/README_jp.md index 4bb8963..e8f3c83 100644 --- a/README_jp.md +++ b/README_jp.md @@ -81,7 +81,7 @@ WebView2 SDKの既定ルートは`C:\tools\webview2\build\native`です。別の 成果物は`dist\binary`へ出力されます。ビルド後のスモークテスト: ```powershell -python core\native\tests\native_smoke.py +python python\tests\native_smoke.py ``` 詳しい仕様とビルド情報は[`document/`](document/)にあります。 @@ -89,14 +89,15 @@ python core\native\tests\native_smoke.py ## フォルダ構成 ```text -core/native/ C++エンジン、GUIホスト、CLI、リソース、ネイティブテスト +core/native/ C++エンジン、GUIホスト、CLI、リソース +python/prototype/ 旧Python/PySide6プロトタイプ +python/tests/ ネイティブCLIのスモークとベンチマーク +python/benchmark/ 旧Python試作の計測記録 templates/ 自己完結WebView2開発用UI static/ CSS/JS/画像を分離する場合の配置先 assets/ アイコン原本と今後の公開用スクリーンショット document/ 仕様、開発環境、バージョン情報 plans/ 日付付きの計画書と実施結果 -benchmark/ 再現可能なベンチマークと計測記録 -prototype/python/ 旧Python/PySide6プロトタイプ dist/binary/ 生成バイナリ(ソース管理対象外) dist/documents/ 配布用ユーザー文書 ``` diff --git a/benchmark/README.md b/benchmark/README.md deleted file mode 100644 index 0940538..0000000 --- a/benchmark/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Benchmarks - -The production native benchmark runner is: - -```powershell -python core\native\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 -``` - -`legacy_python/` contains the data generator, runner, and reports created for the former -FastestCopy Python prototype. They are retained as historical measurements and should not be -presented as results from the current QuickFileCopy native engine. diff --git a/core/native/README.md b/core/native/README.md index f489293..cf247b0 100644 --- a/core/native/README.md +++ b/core/native/README.md @@ -10,15 +10,13 @@ src/copy_engine.cpp scanner, queue, copy paths, verification, metadata src/webview_main.cpp Win32 window, WebView2 host, UAC worker, WebMessage src/main_cli.cpp command-line application resources/ resource script, VERSIONINFO, generated embedded HTML -tests/native_smoke.py functional smoke tests -tests/benchmark_native.py reproducible performance runner ``` -The standard build entry point is the repository-root `build.bat` or `build_native.py`. +Python smoke tests live in `python/tests/`. The standard build entry point is the repository-root `build.bat` or `build_native.py`. ```powershell build.bat -python core\native\tests\native_smoke.py +python python\tests\native_smoke.py ``` Outputs: diff --git a/document/environment.md b/document/environment.md index 00dd5bb..ea3a04a 100644 --- a/document/environment.md +++ b/document/environment.md @@ -65,13 +65,13 @@ An external `index.html` or engine DLL is not required. ## Tests ```powershell -python core\native\tests\native_smoke.py +python python\tests\native_smoke.py ``` Benchmark: ```powershell -python core\native\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 +python python\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 ``` ## Troubleshooting @@ -91,13 +91,14 @@ python core\native\tests\benchmark_native.py --profile small --destination-root core/native/include/qfc/ Public engine headers core/native/src/ Engine, WebView2 host, and CLI core/native/resources/ RC files and icon/HTML resource definitions -core/native/tests/ Smoke tests and benchmarks +python/prototype/ Legacy Python prototype +python/tests/ Native CLI smoke tests and benchmarks +python/benchmark/ Historical Python prototype measurements templates/ WebView2 UI used during development static/ Future location for separated CSS/JS/images assets/ Original icons and public images document/ Developer documentation plans/ Plans and implementation results -prototype/python/ Legacy Python prototype dist/binary/ Generated binaries dist/documents/ Distribution documentation ``` diff --git a/document/environment_jp.md b/document/environment_jp.md index b05779e..340c5c7 100644 --- a/document/environment_jp.md +++ b/document/environment_jp.md @@ -65,13 +65,13 @@ build.bat ## テスト ```powershell -python core\native\tests\native_smoke.py +python python\tests\native_smoke.py ``` 性能測定: ```powershell -python core\native\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 +python python\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 ``` ## トラブルシューティング @@ -91,13 +91,14 @@ python core\native\tests\benchmark_native.py --profile small --destination-root core/native/include/qfc/ 公開エンジンヘッダー core/native/src/ エンジン、WebView2ホスト、CLI core/native/resources/ RC、アイコン/HTMLのリソース定義 -core/native/tests/ スモークテストとベンチマーク +python/prototype/ 旧Pythonプロトタイプ +python/tests/ ネイティブCLIのスモークとベンチマーク +python/benchmark/ 旧Python試作の計測記録 templates/ 開発用WebView2 UI static/ 将来のCSS/JS/画像分離先 assets/ アイコン原本・公開用画像 document/ 開発者向け文書 plans/ 計画・実施結果 -prototype/python/ 旧Pythonプロトタイプ dist/binary/ 生成バイナリ dist/documents/ 配布同梱文書 ``` diff --git a/python/benchmark/README.md b/python/benchmark/README.md new file mode 100644 index 0000000..1d06b76 --- /dev/null +++ b/python/benchmark/README.md @@ -0,0 +1,11 @@ +# Benchmarks + +The production native benchmark runner is: + +```powershell +python python\tests\benchmark_native.py --profile small --destination-root D:\qfc-bench --workers 1,4,8,16 +``` + +This directory holds the data generator, runner, and reports created for the former +Python prototype. They are historical measurements and should not be presented as +results from the current QuickFileCopy native engine. diff --git a/benchmark/legacy_python/generate_dataset.py b/python/benchmark/generate_dataset.py similarity index 100% rename from benchmark/legacy_python/generate_dataset.py rename to python/benchmark/generate_dataset.py diff --git a/benchmark/legacy_python/results/fastcopy_comparison.md b/python/benchmark/results/fastcopy_comparison.md similarity index 100% rename from benchmark/legacy_python/results/fastcopy_comparison.md rename to python/benchmark/results/fastcopy_comparison.md diff --git a/benchmark/legacy_python/results/final_comparison.md b/python/benchmark/results/final_comparison.md similarity index 100% rename from benchmark/legacy_python/results/final_comparison.md rename to python/benchmark/results/final_comparison.md diff --git a/benchmark/legacy_python/results/large_files_benchmark.md b/python/benchmark/results/large_files_benchmark.md similarity index 100% rename from benchmark/legacy_python/results/large_files_benchmark.md rename to python/benchmark/results/large_files_benchmark.md diff --git a/benchmark/legacy_python/results/small_files_benchmark.md b/python/benchmark/results/small_files_benchmark.md similarity index 100% rename from benchmark/legacy_python/results/small_files_benchmark.md rename to python/benchmark/results/small_files_benchmark.md diff --git a/benchmark/legacy_python/run_benchmark.py b/python/benchmark/run_benchmark.py similarity index 100% rename from benchmark/legacy_python/run_benchmark.py rename to python/benchmark/run_benchmark.py diff --git a/prototype/python/build_exe.ps1 b/python/prototype/build_exe.ps1 similarity index 100% rename from prototype/python/build_exe.ps1 rename to python/prototype/build_exe.ps1 diff --git a/prototype/python/nuitka-crash-report.xml b/python/prototype/nuitka-crash-report.xml similarity index 100% rename from prototype/python/nuitka-crash-report.xml rename to python/prototype/nuitka-crash-report.xml diff --git a/prototype/python/pyproject.toml b/python/prototype/pyproject.toml similarity index 100% rename from prototype/python/pyproject.toml rename to python/prototype/pyproject.toml diff --git a/prototype/python/requirements.txt b/python/prototype/requirements.txt similarity index 100% rename from prototype/python/requirements.txt rename to python/prototype/requirements.txt diff --git a/prototype/python/run_cli.py b/python/prototype/run_cli.py similarity index 100% rename from prototype/python/run_cli.py rename to python/prototype/run_cli.py diff --git a/prototype/python/run_gui.py b/python/prototype/run_gui.py similarity index 100% rename from prototype/python/run_gui.py rename to python/prototype/run_gui.py diff --git a/prototype/python/src/fastestcopy/__init__.py b/python/prototype/src/fastestcopy/__init__.py similarity index 100% rename from prototype/python/src/fastestcopy/__init__.py rename to python/prototype/src/fastestcopy/__init__.py diff --git a/prototype/python/src/fastestcopy/cli.py b/python/prototype/src/fastestcopy/cli.py similarity index 100% rename from prototype/python/src/fastestcopy/cli.py rename to python/prototype/src/fastestcopy/cli.py diff --git a/prototype/python/src/fastestcopy/engine/__init__.py b/python/prototype/src/fastestcopy/engine/__init__.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/__init__.py rename to python/prototype/src/fastestcopy/engine/__init__.py diff --git a/prototype/python/src/fastestcopy/engine/copier.py b/python/prototype/src/fastestcopy/engine/copier.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/copier.py rename to python/prototype/src/fastestcopy/engine/copier.py diff --git a/prototype/python/src/fastestcopy/engine/diskspace.py b/python/prototype/src/fastestcopy/engine/diskspace.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/diskspace.py rename to python/prototype/src/fastestcopy/engine/diskspace.py diff --git a/prototype/python/src/fastestcopy/engine/planner.py b/python/prototype/src/fastestcopy/engine/planner.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/planner.py rename to python/prototype/src/fastestcopy/engine/planner.py diff --git a/prototype/python/src/fastestcopy/engine/policy.py b/python/prototype/src/fastestcopy/engine/policy.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/policy.py rename to python/prototype/src/fastestcopy/engine/policy.py diff --git a/prototype/python/src/fastestcopy/engine/preview.py b/python/prototype/src/fastestcopy/engine/preview.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/preview.py rename to python/prototype/src/fastestcopy/engine/preview.py diff --git a/prototype/python/src/fastestcopy/engine/scanner.py b/python/prototype/src/fastestcopy/engine/scanner.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/scanner.py rename to python/prototype/src/fastestcopy/engine/scanner.py diff --git a/prototype/python/src/fastestcopy/engine/stats.py b/python/prototype/src/fastestcopy/engine/stats.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/stats.py rename to python/prototype/src/fastestcopy/engine/stats.py diff --git a/prototype/python/src/fastestcopy/engine/winio.py b/python/prototype/src/fastestcopy/engine/winio.py similarity index 100% rename from prototype/python/src/fastestcopy/engine/winio.py rename to python/prototype/src/fastestcopy/engine/winio.py diff --git a/prototype/python/src/fastestcopy/gui/__init__.py b/python/prototype/src/fastestcopy/gui/__init__.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/__init__.py rename to python/prototype/src/fastestcopy/gui/__init__.py diff --git a/prototype/python/src/fastestcopy/gui/app.py b/python/prototype/src/fastestcopy/gui/app.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/app.py rename to python/prototype/src/fastestcopy/gui/app.py diff --git a/prototype/python/src/fastestcopy/gui/copy_dialog.py b/python/prototype/src/fastestcopy/gui/copy_dialog.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/copy_dialog.py rename to python/prototype/src/fastestcopy/gui/copy_dialog.py diff --git a/prototype/python/src/fastestcopy/gui/copy_log.py b/python/prototype/src/fastestcopy/gui/copy_log.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/copy_log.py rename to python/prototype/src/fastestcopy/gui/copy_log.py diff --git a/prototype/python/src/fastestcopy/gui/drives.py b/python/prototype/src/fastestcopy/gui/drives.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/drives.py rename to python/prototype/src/fastestcopy/gui/drives.py diff --git a/prototype/python/src/fastestcopy/gui/elevate.py b/python/prototype/src/fastestcopy/gui/elevate.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/elevate.py rename to python/prototype/src/fastestcopy/gui/elevate.py diff --git a/prototype/python/src/fastestcopy/gui/file_pane.py b/python/prototype/src/fastestcopy/gui/file_pane.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/file_pane.py rename to python/prototype/src/fastestcopy/gui/file_pane.py diff --git a/prototype/python/src/fastestcopy/gui/help_content.py b/python/prototype/src/fastestcopy/gui/help_content.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/help_content.py rename to python/prototype/src/fastestcopy/gui/help_content.py diff --git a/prototype/python/src/fastestcopy/gui/help_dialog.py b/python/prototype/src/fastestcopy/gui/help_dialog.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/help_dialog.py rename to python/prototype/src/fastestcopy/gui/help_dialog.py diff --git a/prototype/python/src/fastestcopy/gui/i18n.py b/python/prototype/src/fastestcopy/gui/i18n.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/i18n.py rename to python/prototype/src/fastestcopy/gui/i18n.py diff --git a/prototype/python/src/fastestcopy/gui/main_window.py b/python/prototype/src/fastestcopy/gui/main_window.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/main_window.py rename to python/prototype/src/fastestcopy/gui/main_window.py diff --git a/prototype/python/src/fastestcopy/gui/netbrowse.py b/python/prototype/src/fastestcopy/gui/netbrowse.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/netbrowse.py rename to python/prototype/src/fastestcopy/gui/netbrowse.py diff --git a/prototype/python/src/fastestcopy/gui/settings_dialog.py b/python/prototype/src/fastestcopy/gui/settings_dialog.py similarity index 100% rename from prototype/python/src/fastestcopy/gui/settings_dialog.py rename to python/prototype/src/fastestcopy/gui/settings_dialog.py diff --git a/prototype/python/tests/test_elevate.py b/python/prototype/tests/test_elevate.py similarity index 100% rename from prototype/python/tests/test_elevate.py rename to python/prototype/tests/test_elevate.py diff --git a/prototype/python/tests/test_engine.py b/python/prototype/tests/test_engine.py similarity index 100% rename from prototype/python/tests/test_engine.py rename to python/prototype/tests/test_engine.py diff --git a/prototype/python/tests/test_file_pane.py b/python/prototype/tests/test_file_pane.py similarity index 100% rename from prototype/python/tests/test_file_pane.py rename to python/prototype/tests/test_file_pane.py diff --git a/prototype/python/tests/test_i18n.py b/python/prototype/tests/test_i18n.py similarity index 100% rename from prototype/python/tests/test_i18n.py rename to python/prototype/tests/test_i18n.py diff --git a/prototype/python/tests/test_main_window.py b/python/prototype/tests/test_main_window.py similarity index 100% rename from prototype/python/tests/test_main_window.py rename to python/prototype/tests/test_main_window.py diff --git a/core/native/tests/benchmark_native.py b/python/tests/benchmark_native.py similarity index 99% rename from core/native/tests/benchmark_native.py rename to python/tests/benchmark_native.py index 01b9c28..dd401bb 100644 --- a/core/native/tests/benchmark_native.py +++ b/python/tests/benchmark_native.py @@ -12,7 +12,7 @@ import uuid -ROOT = Path(__file__).resolve().parents[3] +ROOT = Path(__file__).resolve().parents[2] QFC = ROOT / "dist" / "binary" / "QuickFileCopy_cli.exe" ELAPSED = re.compile(r"elapsed:\s+([0-9.]+)\s+s") diff --git a/core/native/tests/native_smoke.py b/python/tests/native_smoke.py similarity index 99% rename from core/native/tests/native_smoke.py rename to python/tests/native_smoke.py index fe282b7..d69e18f 100644 --- a/core/native/tests/native_smoke.py +++ b/python/tests/native_smoke.py @@ -8,7 +8,7 @@ import unittest -ROOT = Path(__file__).resolve().parents[3] +ROOT = Path(__file__).resolve().parents[2] QFC = ROOT / "dist" / "binary" / "QuickFileCopy_cli.exe"