##// END OF EJS Templates
contrib: offer Python 2.7.10
Mads Kiilerich -
r26735:ec74ea54 default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 PYTHONVER=2.7.9
1 PYTHONVER=2.7.10
2 PYTHONNAME=python-
2 PYTHONNAME=python-
3 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
3 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
4 SYMLINKDIR=$(HOME)/bin
4 SYMLINKDIR=$(HOME)/bin
@@ -17,9 +17,9 b' help:'
17 @echo ' symlink - create a $$SYMLINKDIR/$(PYTHONNAME)$$PYTHONVER symlink'
17 @echo ' symlink - create a $$SYMLINKDIR/$(PYTHONNAME)$$PYTHONVER symlink'
18 @echo
18 @echo
19 @echo 'Example: create a temporary Python installation:'
19 @echo 'Example: create a temporary Python installation:'
20 @echo ' $$ make -f Makefile.python python PYTHONVER=2.6 PREFIX=/tmp/p26'
20 @echo ' $$ make -f Makefile.python python PYTHONVER=${PYTHONVER} PREFIX=/tmp/p27'
21 @echo ' $$ /tmp/p26/bin/python -V'
21 @echo ' $$ /tmp/p27/bin/python -V'
22 @echo ' Python 2.6'
22 @echo ' Python 2.7'
23 @echo
23 @echo
24 @echo 'Some external libraries are required for building Python: zlib bzip2 openssl.'
24 @echo 'Some external libraries are required for building Python: zlib bzip2 openssl.'
25 @echo 'Make sure their development packages are installed systemwide.'
25 @echo 'Make sure their development packages are installed systemwide.'
@@ -27,7 +27,7 b' help:'
27 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
27 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
28 @echo
28 @echo
29 @echo 'To build a nice collection of interesting Python versions:'
29 @echo 'To build a nice collection of interesting Python versions:'
30 @echo ' $$ for v in 2.{6{,.1,.2,.9},7{,.8,.9}}; do'
30 @echo ' $$ for v in 2.{6{,.1,.2,.9},7{,.8,.10}}; do'
31 @echo ' make -f Makefile.python symlink PYTHONVER=$$v || break; done'
31 @echo ' make -f Makefile.python symlink PYTHONVER=$$v || break; done'
32 @echo 'To run a Mercurial test on all these Python versions:'
32 @echo 'To run a Mercurial test on all these Python versions:'
33 @echo ' $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
33 @echo ' $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
@@ -19,8 +19,8 b' while [ "$1" ]; do'
19 ;;
19 ;;
20 --withpython | --with-python)
20 --withpython | --with-python)
21 shift
21 shift
22 PYTHONVER=2.7.9
22 PYTHONVER=2.7.10
23 PYTHONMD5=5eebcaa0030dc4061156d3429657fb83
23 PYTHONMD5=d7547558fd673bd9d38e2108c6b42521
24 ;;
24 ;;
25 --rpmbuilddir )
25 --rpmbuilddir )
26 shift
26 shift
General Comments 0
You need to be logged in to leave comments. Login now