8000 Remove Mercurial from setup.rst · python/devguide@ad86aed · GitHub
[go: up one dir, main page]

Skip to content

Commit ad86aed

Browse files
willingcbrettcannon
authored andcommitted
Remove Mercurial from setup.rst
Also do a merge from `master`. Closes #52
1 parent 05f0e18 commit ad86aed

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

developers.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ transliteration too.
2525
Permissions History
2626
-------------------
2727

28+
- INADA Naoki was given push privileges on September 26, 2016 by Brett Cannon,
29+
on the recommendation of Yury Selivanov.
30+
2831
- Xavier de Gaye was given push privileges on June 3, 2016 by Brett Cannon,
2932
on the recommendation of Victor Stinner.
3033

index.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,10 @@ patch:
3131
There are different instructions for :ref:`UNIX <unix-compiling>`,
3232
:ref:`Mac OS <MacOS>`, and :ref:`Windows <windows-compiling>`.
3333

34-
The command to compile on UNIX is::
34+
The command to compile on UNIX and Mac OS is::
3535

36-
./configure
37-
make -j2
38-
39-
On some Mac OS::
40-
41-
CPPFLAGS="-I$(brew --prefix openssl)/include" \
42-
LDFLAGS="-L$(brew --prefix openssl)/lib" \
4336
./configure --with-pydebug
37+
make -j
4438

4539
On Windows::
4640

runtests.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Benchmarks
130130
----------
131131
Benchmarking is useful to test that a change does not degrade performance.
132132

133-
`The Grand Unified Python Benchmark Suite <https://hg.python.org/benchmarks/>`_
133+
`The Python Benchmark Suite <https://github.com/python/performance>`_
134134
has a collection of benchmarks for all Python implementations. Documentation
135135
about running the benchmarks is in the `README.txt
136-
<https://hg.python.org/benchmarks/file/tip/README.txt>`_ of the benchmarks repo.
136+
<https://github.com/python/performance/blob/master/README.rst>`_ of the repo.

setup.rst

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ Getting Set Up
2424
Version Control Setup
2525
---------------------
2626

27-
CPython is developed using `Mercurial <http://hg-scm.org/>`_. The Mercurial
28-
command line program is named ``hg``; this is also used to refer to Mercurial
29-
itself. Mercurial is easily available for common Unix systems by way of the
30-
standard package manager; under Windows, you might want to use the
31-
`TortoiseHg <http://tortoisehg.org/>`_ graphical client, but the build system
32-
still prefers :file:`hg.exe` to be on your PATH.
33-
27+
CPython is developed using `git <https://git-scm.com>`_. The git
28+
command line program is named ``git``; this is also used to refer to git
29+
itself. git is easily available for all common operating systems. As the
30+
CPython repo is hosted on GitHub, please refer to either the
31+
`GitHub setup instructions <https://help.github.com/articles/set-up-git/>`_
32+
or the `git project instructions <https://git-scm.com>`_ for step-by-step
33+
installation directions.
34+
35+
You may also wish to set up an SSH key as
36+
described in the GitHub instructions as this will allow you to interact with
37+
GitHub without typing a username and password each time you execute a
38+
command, such as `git pull`, `git push`, or `git fetch`.
3439

3540
.. _checkout:
3641

@@ -49,13 +54,13 @@ To get a working copy of the :ref:`in-development <indevbranch>` branch of
4954
CPython (core developers use a different URL as outlined in :ref:`coredev`),
5055
run::
5156

52-
hg clone https://hg.python.org/cpython
57+
git clone https://github.com/python/cpython
5358

5459
If you want a working copy of an already-released version of Python,
55-
i.e., a version in :ref:`maintenance mode <maintbranch>`, you can update your
56-
working copy. For instance, to update your working copy to Python 3.5, do::
60+
i.e., a version in :ref:`maintenance mode <maintbranch>`, you can checkout
61+
a release branch. For instance, to checkout a working copy of Python 3.5, do::
5762

58-
hg update 3.5
63+
git checkout 3.5
5964

6065
You will need to re-compile CPython when you do such an update.
6166

@@ -346,9 +351,8 @@ when trying to build an old (2.x) Python with a new (3.x) Python installed, or
346351
vice versa.
347352

348353
To overcome this problem, auto-generated files are also checked into the
349-
Mercurial repository. So if you don't touch the auto-generation scripts, there's
350-
no real need to auto-generate anything. However, as Mercurial doesn't preserve
351-
timestamps well, a special build target ``touch`` was added (the ``touch``
354+
git repository. So if you don't touch the auto-generation scripts, there's
355+
no real need to auto-generate anything. A special build target ``touch`` was added (the ``touch``
352356
build target is not designed for git clones and does not support them). Run::
353357

354358
make touch

0 commit comments

Comments
 (0)
0