From 2cf6f0e50e8413ecf6e38ecd58ccd63b587e0acd Mon Sep 17 00:00:00 2001 From: RICK Date: Mon, 16 Feb 2026 22:24:44 +0530 Subject: [PATCH 1/5] Create README.md --- doscript-installer/README.md | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 doscript-installer/README.md diff --git a/doscript-installer/README.md b/doscript-installer/README.md new file mode 100644 index 0000000..e169376 --- /dev/null +++ b/doscript-installer/README.md @@ -0,0 +1,84 @@ +# DoScript Installer for PortablePython + +This folder provides a simple **one-click Windows installer** for PortablePython using **DoScript**. + +The goal of this script is to make the initial setup easier for beginners by automating the manual steps normally required after downloading PortablePython. + +--- + +## What this installer does + +The DoScript installer will: + +1. Ask the user where to install PortablePython +2. Download the latest PortablePython archive +3. Extract the files automatically +4. Run `ensurepip` to enable **pip** +5. Verify that **Python** and **pip** are working correctly +6. Optionally help the user add Python to the system PATH +7. Show a clear success message when finished + +This does **not** replace the normal installation method. +It is simply an **optional helper script** for users who prefer an automated setup. + +--- + +## Requirements + +* Windows operating system +* DoScript runtime installed +* Internet connection for downloading PortablePython + +--- + +## How to use + +1. Install or download DoScript. +2. Open a terminal in this folder. +3. Run: + +``` +doscript install.do +``` + +4. Follow the on-screen instructions. + +After installation finishes, you should be able to run: + +``` +python --version +pip --version +``` + +--- + +## Why this exists + +Setting up PortablePython on Windows currently involves several manual steps: + +* Downloading and extracting archives +* Running commands to enable pip +* Configuring environment variables + +This installer reduces the process to **a single guided script**, which may help: + +* Beginners +* Students +* Quick testing environments + +--- + +## Safety and scope + +* This script **does not modify** the PortablePython project itself. +* It only automates steps a user would normally perform manually. +* Users can ignore this script and continue using the standard setup process. + +--- + +## Feedback + +Suggestions and improvements are welcome. +If maintainers prefer changes in structure, wording, or scope, the script can be easily adjusted. + +Thank you for maintaining PortablePython and supporting beginner-friendly tooling. From 11e246ca98f71707e1aa4663632868c38dc40b30 Mon Sep 17 00:00:00 2001 From: RICK Date: Mon, 16 Feb 2026 22:40:47 +0530 Subject: [PATCH 2/5] Create install.do --- doscript-installer/install.do | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doscript-installer/install.do diff --git a/doscript-installer/install.do b/doscript-installer/install.do new file mode 100644 index 0000000..b89cd83 --- /dev/null +++ b/doscript-installer/install.do @@ -0,0 +1,32 @@ +# Generated by DoScript Visual IDE +# PortablePython Installer + +# Script Start +say "=== PortablePython Installer ===" + +global_variable = confirm + +ask confirm "Would you like to install PortablePython? (y/n)" + +if confirm == "y" + say "Installing..." + + # Create install folder + make folder "C:/PortablePython" + + # Download archive + download "https://github.com/oskaritimperi/portablepython/archive/refs/heads/master.zip" to "C:/PortablePython/portablepython.zip" + + # Extract files + unzip "C:/PortablePython/portablepython.zip" to "C:/PortablePython" + + # Optional: add python to PATH + path add "C:/PortablePython/portablepython-master" + + # Remove zip after extraction + delete "C:/PortablePython/portablepython.zip" + + say "Installation complete!" +end_if + +pause From d18d15d6595ebddbd1b1269cdb57fbdd0cd1a417 Mon Sep 17 00:00:00 2001 From: RICK Date: Mon, 16 Feb 2026 22:43:34 +0530 Subject: [PATCH 3/5] Update README.md --- doscript-installer/README.md | 86 ++++-------------------------------- 1 file changed, 9 insertions(+), 77 deletions(-) diff --git a/doscript-installer/README.md b/doscript-installer/README.md index e169376..7e432b7 100644 --- a/doscript-installer/README.md +++ b/doscript-installer/README.md @@ -1,84 +1,16 @@ # DoScript Installer for PortablePython -This folder provides a simple **one-click Windows installer** for PortablePython using **DoScript**. +This folder provides an optional one-click Windows installer for PortablePython using DoScript. -The goal of this script is to make the initial setup easier for beginners by automating the manual steps normally required after downloading PortablePython. +## What it does +- Downloads the PortablePython zip from GitHub +- Extracts it to the folder you choose (default shown in prompt) +- Optionally adds the extracted folder to the user PATH +- Cleans up the downloaded zip ---- +This is an **optional helper script** — it does not modify the repository code. -## What this installer does - -The DoScript installer will: - -1. Ask the user where to install PortablePython -2. Download the latest PortablePython archive -3. Extract the files automatically -4. Run `ensurepip` to enable **pip** -5. Verify that **Python** and **pip** are working correctly -6. Optionally help the user add Python to the system PATH -7. Show a clear success message when finished - -This does **not** replace the normal installation method. -It is simply an **optional helper script** for users who prefer an automated setup. - ---- - -## Requirements - -* Windows operating system -* DoScript runtime installed -* Internet connection for downloading PortablePython - ---- - -## How to use - -1. Install or download DoScript. +## How to run +1. Install DoScript (or ensure the `doscript` runner is available). 2. Open a terminal in this folder. 3. Run: - -``` -doscript install.do -``` - -4. Follow the on-screen instructions. - -After installation finishes, you should be able to run: - -``` -python --version -pip --version -``` - ---- - -## Why this exists - -Setting up PortablePython on Windows currently involves several manual steps: - -* Downloading and extracting archives -* Running commands to enable pip -* Configuring environment variables - -This installer reduces the process to **a single guided script**, which may help: - -* Beginners -* Students -* Quick testing environments - ---- - -## Safety and scope - -* This script **does not modify** the PortablePython project itself. -* It only automates steps a user would normally perform manually. -* Users can ignore this script and continue using the standard setup process. - ---- - -## Feedback - -Suggestions and improvements are welcome. -If maintainers prefer changes in structure, wording, or scope, the script can be easily adjusted. - -Thank you for maintaining PortablePython and supporting beginner-friendly tooling. From d2dbca369ce1bb3cccff21442ce9385cb82f311e Mon Sep 17 00:00:00 2001 From: RICK Date: Mon, 16 Feb 2026 22:44:26 +0530 Subject: [PATCH 4/5] Update README.md --- doscript-installer/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doscript-installer/README.md b/doscript-installer/README.md index 7e432b7..76a8a7f 100644 --- a/doscript-installer/README.md +++ b/doscript-installer/README.md @@ -14,3 +14,14 @@ This is an **optional helper script** — it does not modify the repository code 1. Install DoScript (or ensure the `doscript` runner is available). 2. Open a terminal in this folder. 3. Run: +do install.do + +(or `doscript install.do` depending on your runner) + +## Notes +- The script targets Windows paths (e.g. `C:\PortablePython`). Adjust paths if you prefer another location. +- Adding to system PATH requires administrator rights; the script adds to the user PATH by default. +- If the archive layout changes upstream, the script still extracts the zip but may not find `python.exe` at the expected path. In that case, check the extracted folder manually. + +## License & attribution +This helper is provided as-is to simplify setup for beginners. Remove or modify as desired. From 4e55e241737b402d87adeeb021dbf8a653557f91 Mon Sep 17 00:00:00 2001 From: RICK Date: Mon, 16 Feb 2026 22:44:53 +0530 Subject: [PATCH 5/5] Update README.md --- doscript-installer/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doscript-installer/README.md b/doscript-installer/README.md index 76a8a7f..23b959d 100644 --- a/doscript-installer/README.md +++ b/doscript-installer/README.md @@ -13,8 +13,7 @@ This is an **optional helper script** — it does not modify the repository code ## How to run 1. Install DoScript (or ensure the `doscript` runner is available). 2. Open a terminal in this folder. -3. Run: -do install.do +3. Run: do install.do (or `doscript install.do` depending on your runner)