From 31221dac7443624f01783ed359c73f9d6c834fae Mon Sep 17 00:00:00 2001 From: Krista LaFentres Date: Mon, 23 Oct 2017 14:41:07 -0500 Subject: [PATCH 1/2] Update Contributing.md Updating version 2.7.8 to 2.7.11 to match version in pyenv install. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e022ec28..1d41c2248 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -151,7 +151,7 @@ pyenv install 2.7.11 pyenv install 3.4.3 pyenv install 3.5.0 python setup.py install -pyenv local 3.5.0 3.4.3 2.7.8 2.6.9 +pyenv local 3.5.0 3.4.3 2.7.11 2.6.9 pyenv rehash ``` From d8967ae317fc7173c8cc7d2b11673ed22851eef5 Mon Sep 17 00:00:00 2001 From: Krista LaFentres Date: Sun, 5 Nov 2017 15:29:32 -0600 Subject: [PATCH 2/2] Update CONTRIBUTING.md Adding clarification to docker vs local install and running python setup.py install command --- CONTRIBUTING.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d41c2248..b273251f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,11 +59,13 @@ In order to make the process easier, we've included a [sample bug report templat We welcome direct contributions to the sendgrid-python code base. Thank you! ### Development Environment ### - -#### Using Docker #### +#### There are two ways to get set up: #### +#### 1. Using Docker #### +This is usually the easiest and fastest way to get set up. You can use our Docker image to avoid setting up the development environment yourself. See [USAGE.md](https://github.com/sendgrid/sendgrid-python/blob/master/docker/USAGE.md). -#### Install and Run Locally #### +#### - OR - #### +#### 2. Install and Run Locally #### ##### Prerequisites ##### @@ -150,7 +152,12 @@ pyenv install 2.6.9 pyenv install 2.7.11 pyenv install 3.4.3 pyenv install 3.5.0 +``` +Make sure to change the current working directory to your local version of the repo before running the following command: +``` python setup.py install +``` +``` pyenv local 3.5.0 3.4.3 2.7.11 2.6.9 pyenv rehash ```