Skip to content

Commit

Permalink
install snappy headers before python wrapper 🤦
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Zaitcev <oktocat@yandex.com>
  • Loading branch information
oktocat committed Nov 3, 2021
1 parent 868a585 commit 7c029f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,14 @@ develop:
$(PIP) install -e .

install: clean
$(PIP) install -e ."[api, datadog, prometheus, elasticsearch, pubsub, cloud_monitoring, bigquery, dev, prometheus_remote_write]"
ifeq ($(OS),Darwin)
@echo "running on MacOs, installing snappy headers with brew"
brew install snappy
else
@echo "running on Linux, assuming Ubuntu, installing snappy headers with apt"
sudo apt install libsnappy-dev -y
sudo apt install libsnappy-dev -y || apt install libsnappy-dev -y
endif

$(PIP) install -e ."[api, datadog, prometheus, elasticsearch, pubsub, cloud_monitoring, bigquery, dev, prometheus_remote_write]"

test: install unit lint

Expand Down

0 comments on commit 7c029f5

Please sign in to comment.