From f4d50792ea54520fe9a71e49db67b5012c77b31f Mon Sep 17 00:00:00 2001 From: Tom Sadler Date: Fri, 23 May 2025 19:39:49 +0100 Subject: [PATCH 1/5] Add note on Python versions --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 979b70140d..9660bd2fcb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## Requirements -- Python 3.11 +- Python 3.11 (later versions may not work) - Git CLI installed - Python, pip and git are all available as command-line commands (add to the path if needed) From a2f17e3205cb7dd290a4c9f5f4506802b3976e36 Mon Sep 17 00:00:00 2001 From: Tom Sadler Date: Fri, 23 May 2025 19:53:24 +0100 Subject: [PATCH 2/5] Add note on C compiler --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9660bd2fcb..03c96d50c0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,6 +36,8 @@ pip install -r PyfaDEV\requirements.txt ``` > For some Linux distributions, you may need to install separate wxPython bindings, such as `python-matplotlib-wx` +> You may need to [install a C compiler](https://mesonbuild.com/SimpleStart.html#installing-a-compiler-toolchain) + Check that the libs from *requirements.txt* are installed ``` pip list From 2494ad8cef41fb42a4657637db5e94210cca2102 Mon Sep 17 00:00:00 2001 From: Tom Sadler Date: Fri, 23 May 2025 19:54:46 +0100 Subject: [PATCH 3/5] venv activation for PowerShell --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 03c96d50c0..b19a7839d6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,6 +26,7 @@ Activate the virtual environment ``` For cmd.exe: PyfaEnv\scripts\activate.bat +For PowerShell: PyfaEnv\Scripts\Activate.ps1 For bash: source /Scripts/activate ``` > For other OS check [Python documentation](https://docs.python.org/3/library/venv.html) From c7412a51743b1f0d97dd39631cfcd55565ef21f7 Mon Sep 17 00:00:00 2001 From: Tom Sadler Date: Fri, 23 May 2025 20:04:57 +0100 Subject: [PATCH 4/5] Add PyfaDEV path for translations and database scripts --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b19a7839d6..c630b86fe2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,8 +46,8 @@ pip list Build translations and database: ``` -python scripts\compile_lang.py -python db_update.py +python PyfaDEV\scripts\compile_lang.py +python PyfaDEV\db_update.py ``` Test that the project is starting properly From 8afb2139b384cea00e428c144d8e78da9264e601 Mon Sep 17 00:00:00 2001 From: Tom Sadler Date: Fri, 23 May 2025 20:06:43 +0100 Subject: [PATCH 5/5] venv activation for PowerShell (running tests) --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c630b86fe2..15008774dd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,6 +91,7 @@ Check that the project is starting properly. Switch to the proper virtual environment ``` For cmd.exe: PyfaEnv\scripts\activate.bat +For PowerShell: PyfaEnv\Scripts\Activate.ps1 For bash: source /Scripts/activate ```