Skip to content

Commit

Permalink
fix Makefile for freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Feb 17, 2020
1 parent 9069e25 commit 793148f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ DEPS = \
twine \
virtualenv \
wheel

ifeq ($(PYTHON), $(filter $(PYTHON), python python2 python2.7))
DEPS += \
futures \
ipaddress \
mock==1.0.1 \
unittest2
endif

PY2_DEPS = \
futures \
ipaddress \
mock==1.0.1 \
unittest2
DEPS += `$(PYTHON) -c \
"import sys; print('$(PY2_DEPS)' if sys.version_info[0] == 2 else '')"`
# In not in a virtualenv, add --user options for install commands.
INSTALL_OPTS = `$(PYTHON) -c \
"import sys; print('' if hasattr(sys, 'real_prefix') else '--user')"`
Expand Down

0 comments on commit 793148f

Please sign in to comment.