Skip to content

Commit

Permalink
Test making a junction to work around win32 python
Browse files Browse the repository at this point in the history
using stupid names for things
  • Loading branch information
tkelman committed Feb 23, 2015
1 parent 1f20991 commit 681ab55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,9 @@ $(VIRTUALENV_SOURCE): virtualenv-$(VIRTUALENV_VER).tar.gz
touch -c $@
$(VIRTUALENV_TARGET): $(VIRTUALENV_SOURCE)
"$(shell ./find_python2)" $< $@
ifeq ($(BUILD_OS), WINNT)
[ -e $@/Scripts ] && ! [ -e $@/bin ] && cmd //C mklink //J $@/bin $@/Scripts
endif
touch -c $@

clean-virtualenv:
Expand Down
6 changes: 2 additions & 4 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

JULIA_ENV = $(JULIAHOME)/deps/julia-env
# Win32 Python uses /Scripts instead of /bin
JULIA_ENV_BIN = $(shell if [ -e $(JULIA_ENV)/Scripts ]; then echo $(JULIA_ENV)/Scripts; else echo $(JULIA_ENV)/bin; fi)
ACTIVATE = $(JULIA_ENV_BIN)/activate
SPHINX_BUILD = $(JULIA_ENV_BIN)/sphinx-build
ACTIVATE = $(JULIA_ENV)/bin/activate
SPHINX_BUILD = $(JULIA_ENV)/bin/sphinx-build

$(JULIA_ENV):
$(MAKE) -C $(JULIAHOME)/deps install-virtualenv
Expand Down

0 comments on commit 681ab55

Please sign in to comment.