Skip to content

Commit ccfd394

Browse files
Merge pull request NREL#229 from aimiktena/main
Add Windows instructions for Virtual Environment to CONTRIBUTING.rst
2 parents ba452ab + 1a4f5ff commit ccfd394

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CONTRIBUTING.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,17 @@ Strongly recommended: use a Python IDE such as `PyCharm <https://www.jetbrains.c
5050
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).
5151
Run commands in a terminal with View → Tool Windows → Terminal
5252

53-
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::
53+
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:
5454

55-
python -m venv venv
56-
source venv/bin/activate
55+
- Windows::
56+
57+
python -m venv venv
58+
venv\Scripts\activate
59+
60+
- macOS/Linux::
61+
62+
python -m venv venv
63+
source venv/bin/activate
5764

5865
(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)
5966

0 commit comments

Comments
 (0)