feature: add Windows support for workspace activation script#2
Merged
DarkLink merged 3 commits intoDarkLink:mainfrom Mar 6, 2026
Merged
feature: add Windows support for workspace activation script#2DarkLink merged 3 commits intoDarkLink:mainfrom
DarkLink merged 3 commits intoDarkLink:mainfrom
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
added 2 commits
March 6, 2026 18:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds robust Windows support for workspace activation in the QuantPits project. It introduces a PowerShell activation script (
run_env.ps1) for Windows users, updates the workspace initialization logic to generate the appropriate activation script based on the operating system, and improves documentation to guide Windows users through setup and potential PowerShell execution issues.Windows support and activation scripts:
init_workspace.pyscript now detects the operating system and creates either arun_env.sh(for Linux/macOS) orrun_env.ps1(for Windows) activation script, with OS-appropriate environment variable setup and user instructions. [1] [2]Documentation improvements:
docs/70_WALKTHROUGH.md) is updated to include instructions for using the new PowerShell activation script on Windows, including how to configure environment variables and how to resolve PowerShell script execution policy issues. [1] [2] [3]run_env.sh(Linux) andrun_env.ps1(Windows) activation scripts.--strip-components=1for better directory structure after extraction.Sample script addition:
run_env.ps1activation script is added to the demo workspace for reference and ease of use by Windows PowerShell users.