File tree 2 files changed +6
-19
lines changed
2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python : 3.6
3
- install :
4
- - git clone --depth 1 --branch 3.7 https://github.com/python/cpython.git
3
+ install : true
5
4
script :
6
- - make CPYTHON_CLONE=cpython BRANCH=3.7
5
+ - make CPYTHON_CLONE=/tmp/ cpython/ BRANCH=3.7
Original file line number Diff line number Diff line change @@ -24,27 +24,15 @@ JOBS = 4
24
24
25
25
26
26
.PHONY : all
27
- all : $(VENV ) /bin/sphinx-build $( VENV ) /bin/blurb $( SPHINX_CONF )
27
+ all : $(SPHINX_CONF )
28
28
mkdir -p $(CPYTHON_CLONE ) /Doc/locales/$(LANGUAGE ) /
29
29
ln -nfs $(shell readlink -f .) $(CPYTHON_CLONE ) /Doc/locales/$(LANGUAGE ) /LC_MESSAGES
30
- . $(VENV ) /bin/activate; $(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ SPHINXOPTS=' -q -j$(JOBS) -D locale_dirs=locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE )
30
+ $(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ VENVDIR=$(VENV ) PYTHON=$(PYTHON ) venv
31
+ $(MAKE ) -C $(CPYTHON_CLONE ) /Doc/ VENVDIR=$(VENV ) PYTHON=$(PYTHON ) SPHINXOPTS=' -q -j$(JOBS) -D locale_dirs=locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE )
31
32
32
33
33
34
$(SPHINX_CONF ) :
34
- git clone --depth 1 --no-single-branch https://github.com/python/cpython.git $(CPYTHON_CLONE )
35
-
36
-
37
- $(VENV ) /bin/activate :
38
- mkdir -p $(VENV )
39
- $(PYTHON ) -m venv $(VENV )
40
-
41
-
42
- $(VENV ) /bin/sphinx-build : $(VENV ) /bin/activate
43
- . $(VENV ) /bin/activate; python3 -m pip install sphinx
44
-
45
-
46
- $(VENV ) /bin/blurb : $(VENV ) /bin/activate
47
- . $(VENV ) /bin/activate; python3 -m pip install blurb
35
+ git clone --depth 1 --no-single-branch --branch $(BRANCH ) https://github.com/python/cpython.git $(CPYTHON_CLONE )
48
36
49
37
50
38
.PHONY : upgrade_venv
You can’t perform that action at this time.
0 commit comments