Skip to content

Commit

Permalink
Fixed installing psycopg2 on Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonye Jack committed Mar 3, 2021
1 parent e82d7d8 commit 16a487a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ clean-build: ## Clean project build artifacts.

install: clean-build ## Install project dependencies.
@echo "Installing project in dependencies..."
@pip install -U pip setuptools
@pip install -U pip setuptools poetry
ifeq "$(shell uname)" "Darwin"
@export LDFLAGS="-L/usr/local/opt/openssl/lib"
@export CPPFLAGS="-I/usr/local/opt/openssl/include"
endif
@pip install poetry==1.1.4
@poetry install -vvv
@poetry update
Expand Down

0 comments on commit 16a487a

Please sign in to comment.