Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(setup): handle OS-specific venv activation path #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elharony
Copy link

Description:

This PR addresses issue #129, modifying the virtual environment activation script to handle different OS-specific paths for activating the virtual environment. It introduces a condition to support both Windows and Linux/macOS environments.

Changes:

  • Use .venv/Scripts/activate for Windows.
  • Use .venv/bin/activate for Linux/macOS.

Why:

This change ensures the setup script works consistently across multiple operating systems, improving developer experience.

Testing:

Tested on both Windows and Linux/macOS environments to ensure the correct activation path is used based on the OS.

- Support both Windows and Linux/macOS venv activation
  - Use `.venv/Scripts/activate` for Windows
  - Use `.venv/bin/activate` for Linux/macOS
@elharony elharony force-pushed the fix-virtual-environment-activation-path-windows branch from f939a67 to cfc047e Compare October 28, 2024 23:34
@x5a
Copy link
Collaborator

x5a commented Oct 29, 2024

Thanks for your contribution @elharony. However, we require signed commits to merge your changes:

@x5a x5a enabled auto-merge (squash) October 29, 2024 01:16
@x5a x5a disabled auto-merge October 29, 2024 01:16
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