From 3d7c0d7e9ce64c75cabc0f14436f853c4f0c7c84 Mon Sep 17 00:00:00 2001 From: MeowyCat1 Date: Sun, 19 Oct 2025 11:06:44 +0100 Subject: [PATCH 1/5] Update installation instructions for Windows PowerShell Added instructions for enabling PowerShell script execution on Windows. --- docs/installation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index aed389e62a..d871ecbcaa 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -129,6 +129,8 @@ Before you work on your project, activate the corresponding environment: Your shell prompt will change to show the name of the activated environment. +In windows, PowerShell scripts such as the venv activation script are blocked by default. To fix this, you should open PowerShell and run the command Set-ExecutionPolicy AllSigned or another policy that allows PowerShell scripts. Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 + Install Flask ------------- From d82cf0b61d8d7045a8dccf49ea98ebe81bd8c44a Mon Sep 17 00:00:00 2001 From: MeowyCat1 Date: Sun, 19 Oct 2025 11:49:27 +0100 Subject: [PATCH 2/5] Shorten PowerShell script execution policy for Windows Reword PowerShell script execution policy instructions for length --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index d871ecbcaa..f8da161c00 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -129,7 +129,7 @@ Before you work on your project, activate the corresponding environment: Your shell prompt will change to show the name of the activated environment. -In windows, PowerShell scripts such as the venv activation script are blocked by default. To fix this, you should open PowerShell and run the command Set-ExecutionPolicy AllSigned or another policy that allows PowerShell scripts. Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 +PowerShell scripts such as the venv activation script are blocked by default in Windows. To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 Install Flask From 78c86fb29f833327e55cbaa9d3a87e348e35293c Mon Sep 17 00:00:00 2001 From: MeowyCat1 Date: Sun, 19 Oct 2025 12:03:52 +0100 Subject: [PATCH 3/5] Improve readability of PowerShell execution policy instructions Split the PowerShell script execution policy instructions into separate lines for better readability. --- docs/installation.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index f8da161c00..56c2720754 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -129,7 +129,9 @@ Before you work on your project, activate the corresponding environment: Your shell prompt will change to show the name of the activated environment. -PowerShell scripts such as the venv activation script are blocked by default in Windows. To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 +PowerShell scripts such as the venv activation script are blocked by default in Windows. +To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. +Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 Install Flask From af43332246ac6c04f0cfafc7a392a2e8c7c94cb5 Mon Sep 17 00:00:00 2001 From: MeowyCat1 Date: Sun, 19 Oct 2025 13:29:40 +0100 Subject: [PATCH 4/5] Fix PowerShell script link in installation guide Updated the link format for PowerShell execution policy documentation. --- docs/installation.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 56c2720754..f4d14e8aba 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -131,7 +131,9 @@ environment. PowerShell scripts such as the venv activation script are blocked by default in Windows. To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. -Learn more at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 +Learn more at `this Microsoft Learn page `_. + +.. _powershell: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5 Install Flask From cd911980cb4950f7cfab6d06340f241fe6e6ff1b Mon Sep 17 00:00:00 2001 From: MeowyCat1 Date: Sun, 19 Oct 2025 13:35:51 +0100 Subject: [PATCH 5/5] Fix link formatting for PowerShell script instructions --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index f4d14e8aba..dd18c123d4 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -131,7 +131,7 @@ environment. PowerShell scripts such as the venv activation script are blocked by default in Windows. To fix this, run the Set-ExecutionPolicy command to set the policy to AllSigned or another policy that allows scripts. -Learn more at `this Microsoft Learn page `_. +Learn more at `this Microsoft Learn page `_. .. _powershell: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5