Skip to content

Commit

Permalink
Update make install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
visini committed Dec 21, 2020
1 parent 326fb2c commit 162fadf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ VERSION_SET := 1
endif

install:
export SYSTEM_VERSION_COMPAT=1
export LDFLAGS="${LDFLAGS} -L/usr/local/opt/zlib/lib"
export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/zlib/include"
export LDFLAGS="${LDFLAGS} -L/usr/local/opt/sqlite/lib"
export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/sqlite/include"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/sqlite/lib/pkgconfig"
@echo "If pip error, export the below flags (NOT via Makefile, since every line has separate shell! run directly)"
#export SYSTEM_VERSION_COMPAT=1
#export LDFLAGS="${LDFLAGS} -L/usr/local/opt/zlib/lib"
#export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/zlib/include"
#export LDFLAGS="${LDFLAGS} -L/usr/local/opt/sqlite/lib"
#export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/sqlite/include"
#export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/zlib/lib/pkgconfig"
#export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/sqlite/lib/pkgconfig"
poetry install
dev:
poetry run python main.py
Expand Down

0 comments on commit 162fadf

Please sign in to comment.