Skip to content

feature: add Windows support for workspace activation script#2

Merged
DarkLink merged 3 commits intoDarkLink:mainfrom
HalcyonByh:main
Mar 6, 2026
Merged

feature: add Windows support for workspace activation script#2
DarkLink merged 3 commits intoDarkLink:mainfrom
HalcyonByh:main

Conversation

@HalcyonByh
Copy link

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:

  • The init_workspace.py script now detects the operating system and creates either a run_env.sh (for Linux/macOS) or run_env.ps1 (for Windows) activation script, with OS-appropriate environment variable setup and user instructions. [1] [2]

Documentation improvements:

  • The walkthrough documentation (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]
  • The workspace directory structure documentation now lists both run_env.sh (Linux) and run_env.ps1 (Windows) activation scripts.
  • The data extraction command is updated to use --strip-components=1 for better directory structure after extraction.

Sample script addition:

  • A sample run_env.ps1 activation script is added to the demo workspace for reference and ease of use by Windows PowerShell users.

@codecov
Copy link

codecov bot commented Mar 6, 2026

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 ☂️

@DarkLink DarkLink merged commit 562f5bf into DarkLink:main Mar 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants