Skip to content

Commit

Permalink
Merge pull request #41 from zcmarine/zcm/add_openssl_docs
Browse files Browse the repository at this point in the history
Add docs on installing psycopg2
  • Loading branch information
zcmarine committed Jul 2, 2018
2 parents 327a6bd + be3e08d commit df61c14
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ First, get your Python environment set up:
mkvirtualenv pgbedrock3 --python python3
pip3 install -e . -r requirements-dev.txt
Note that if the pip install step fails on psycopg2 you may have to do the following:

* ``brew install postgresql openssl``
* ``xcode-select --install``, followed by a restart of your machine
* If you still get an error about a library for -lssl not found, then you have two options: ``brew reinstall python`` to get Python to use brew's OpenSSL, or explicitly tell pip to use Brew's OpenSSL via ``LDFLAGS="-L$(brew --prefix openssl)/lib" pip3 install psycopg2``.

Testing Functionality
---------------------
Various testing functionality exists:

* ``make test`` - Run tests for both Python 2 and 3 (via docker containers) against all
Expand Down

0 comments on commit df61c14

Please sign in to comment.