Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
ec74ea542201
Commit
ec74ea542201
authored
9 years ago
by
Mads Kiilerich
Browse files
Options
Downloads
Patches
Plain Diff
contrib: offer Python 2.7.10
parent
b000d34f863f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/Makefile.python
+5
-5
5 additions, 5 deletions
contrib/Makefile.python
contrib/buildrpm
+2
-2
2 additions, 2 deletions
contrib/buildrpm
with
7 additions
and
7 deletions
contrib/Makefile.python
+
5
−
5
View file @
ec74ea54
PYTHONVER
=
2.7.
9
PYTHONVER
=
2.7.
10
PYTHONNAME
=
python-
PREFIX
=
$(
HOME
)
/bin/prefix-
$(
PYTHONNAME
)$(
PYTHONVER
)
SYMLINKDIR
=
$(
HOME
)
/bin
...
...
@@ -17,9 +17,9 @@
@
echo
' symlink - create a $$SYMLINKDIR/
$(
PYTHONNAME
)
$$PYTHONVER symlink'
@
echo
@
echo
'Example: create a temporary Python installation:'
@
echo
' $$ make -f Makefile.python python PYTHONVER=
2.6
PREFIX=/tmp/p2
6
'
@
echo
' $$ /tmp/p2
6
/bin/python -V'
@
echo
' Python 2.
6
'
@
echo
' $$ make -f Makefile.python python PYTHONVER=
${
PYTHONVER
}
PREFIX=/tmp/p2
7
'
@
echo
' $$ /tmp/p2
7
/bin/python -V'
@
echo
' Python 2.
7
'
@
echo
@
echo
'Some external libraries are required for building Python: zlib bzip2 openssl.'
@
echo
'Make sure their development packages are installed systemwide.'
...
...
@@ -27,7 +27,7 @@
# debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
@echo
@echo 'To build a nice collection of interesting Python versions
:
'
@
echo
' $$ for v in 2.{6{,.1,.2,.9},7{,.8,.
9
}}; do'
@
echo
' $$ for v in 2.{6{,.1,.2,.9},7{,.8,.
10
}}; do'
@
echo
' make -f Makefile.python symlink PYTHONVER=$$v || break; done'
@
echo
'To run a Mercurial test on all these Python versions:'
@
echo
' $$ for py in `cd ~/bin && ls
$(
PYTHONNAME
)
2.*`; do'
...
...
This diff is collapsed.
Click to expand it.
contrib/buildrpm
+
2
−
2
View file @
ec74ea54
...
...
@@ -19,8 +19,8 @@
;;
--withpython
|
--with-python
)
shift
PYTHONVER
=
2.7.
9
PYTHONMD5
=
5eebcaa0030dc4061156d3429657fb83
PYTHONVER
=
2.7.
10
PYTHONMD5
=
d7547558fd673bd9d38e2108c6b42521
;;
--rpmbuilddir
)
shift
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment