Skip to content

Commit

Permalink
Set VIRTUALENV_SYSTEM_SITE_PACKAGES=true
Browse files Browse the repository at this point in the history
fixes #38
  • Loading branch information
tkf committed May 19, 2013
1 parent ab98b57 commit 8320ac4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
@@ -1,9 +1,14 @@
ENV = env

VIRTUALENV_SYSTEM_SITE_PACKAGES ?= true
VIRTUALENV = \
VIRTUALENV_SYSTEM_SITE_PACKAGES=$(VIRTUALENV_SYSTEM_SITE_PACKAGES) \
virtualenv --python=$(PYTHON)
PYTHON ?= python
CARTON ?= carton
EMACS ?= emacs


EL4T_SCRIPT = tools/el4t/emacs.sh
EL4T_CARTON = EL4T_EMACS=${EMACS} EMACS=${EL4T_SCRIPT} ${CARTON}
EL4T_CARTON_EMACS = ${EL4T_CARTON} exec ${EL4T_SCRIPT}
Expand Down Expand Up @@ -48,7 +53,7 @@ requirements: env

env: $(ENV)/bin/activate
$(ENV)/bin/activate:
virtualenv --python=$(PYTHON) $(ENV)
$(VIRTUALENV) $(ENV)

clean-env:
rm -rf $(ENV)
Expand Down

0 comments on commit 8320ac4

Please sign in to comment.