Skip to content

Commit

Permalink
Update Makefile for new Mac (#31)
Browse files Browse the repository at this point in the history
* Update Makefile for new Mac

Properly check if Homebrew is installed.  If it isn’t, then install it
from the correct URL.

* Upgrade requirements
  • Loading branch information
brainix authored Nov 20, 2016
1 parent f303223 commit 211c11a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@



init: BREW := $(shell command -v brew 2>/dev/null)
python: CFLAGS := '-I$(brew --prefix readline)/include -g -O2'
python: LDFLAGS := -L$(brew --prefix readline)/lib

Expand All @@ -20,9 +19,7 @@ install: init python

init:
-xcode-select --install
ifndef BREW
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
endif
command -v brew >/dev/null 2>&1 || ruby -e "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install {readline,pyenv,pyenv-virtualenv,redis}

python:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ coverage==4.2
isort==4.2.5
pkginfo==1.4.1
redis==2.10.5
requests==2.11.1
requests==2.12.1
requests-toolbelt==0.7.0
twine==1.8.1

0 comments on commit 211c11a

Please sign in to comment.