Skip to content

Commit

Permalink
Merge pull request #229 from aimiktena/main
Browse files Browse the repository at this point in the history
Add Windows instructions for Virtual Environment to CONTRIBUTING.rst
  • Loading branch information
softwareengineerprogrammer authored Jun 7, 2024
2 parents ba452ab + 1a4f5ff commit ccfd394
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 ccfd394

Please sign in to comment.