Skip to content

Commit

Permalink
Add Windows Instructions for Activating Virtual Environment to CONTRI…
Browse files Browse the repository at this point in the history
…BUTING.rst
  • Loading branch information
natakokota committed Jun 3, 2024
1 parent e0a3bbf commit 06ea8e1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@ Strongly recommended: use a Python IDE such as `PyCharm <https://www.jetbrains.c
If you are using PyCharm, first open the the cloned repo by going to File → Open and selecting your ``GEOPHIRES-X`` directory (from the previous steps).
Run commands in a terminal with View → Tool Windows → Terminal

1. `Install virtualenv <https://virtualenv.pypa.io/en/latest/installation.html#via-pip>`__ if you don't have it already. Then set up and activate a virtual environment for the project::
1. `Install virtualenv <https://virtualenv.pypa.io/en/latest/installation.html#via-pip>`__ if you don't have it already. Then set up and activate a virtual environment for the project:

python -m venv venv
source venv/bin/activate
- Windows::

python -m venv venv
venv\Scripts\activate

- macOS/Linux::

python -m venv venv
source venv/bin/activate

(If you are using PyCharm, it may prompt you to set up the virtual environment automatically, allowing you to skip this step on the command line)

Expand Down

0 comments on commit 06ea8e1

Please sign in to comment.