Skip to content

Commit 8264247

Browse files
author
georg.brandl
committed
Add "Using Python on Windows" document, by Robert Lehmann.
Written for GHOP. git-svn-id: http://svn.python.org/projects/python/trunk@59266 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent ab06187 commit 8264247

5 files changed

Lines changed: 333 additions & 29 deletions

File tree

Doc/distutils/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _extending:
1+
.. _extending-distutils:
22

33
*******************
44
Extending Distutils

Doc/library/windows.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _mswin-specific-services:
12

23
****************************
34
MS Windows Specific Services

Doc/using/cmdline.rst

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. highlightlang:: none
22

3+
.. _using-on-general:
4+
35
Command line and environment
46
============================
57

@@ -12,6 +14,8 @@ settings.
1214
:ref:`implementations` for further resources.
1315

1416

17+
.. _using-on-cmdline:
18+
1519
Command line
1620
------------
1721

@@ -304,39 +308,21 @@ Miscellaneous options
304308

305309
.. cmdoption:: -3
306310

307-
Warn about Python 3.x incompatibilities.
311+
Warn about Python 3.x incompatibilities. Among these are:
308312

309-
.. versionadded:: 2.6
313+
* :meth:`dict.has_key`
314+
* :func:`apply`
315+
* :func:`callable`
316+
* :func:`coerce`
317+
* :func:`execfile`
318+
* :func:`reduce`
319+
* :func:`reload`
310320

321+
.. versionadded:: 2.6
311322

312-
Related files -- UNIX
313-
---------------------
314323

315-
These are subject to difference depending on local installation conventions;
316-
:envvar:`prefix` (``${prefix}``) and :envvar:`exec_prefix` (``${exec_prefix}``)
317-
are installation-dependent and should be interpreted as for GNU software; they
318-
may be the same.
319-
320-
For example, on most Linux systems, the default for both is :file:`/usr`.
321-
322-
+-----------------------------------------------+------------------------------------------+
323-
| File/directory | Meaning |
324-
+===============================================+==========================================+
325-
| :file:`{exec_prefix}/bin/python` | Recommended location of the interpreter. |
326-
+-----------------------------------------------+------------------------------------------+
327-
| :file:`{prefix}/lib/python{version}`, | Recommended locations of the directories |
328-
| :file:`{exec_prefix}/lib/python{version}` | containing the standard modules. |
329-
+-----------------------------------------------+------------------------------------------+
330-
| :file:`{prefix}/include/python{version}`, | Recommended locations of the directories |
331-
| :file:`{exec_prefix}/include/python{version}` | containing the include files needed for |
332-
| | developing Python extensions and |
333-
| | embedding the interpreter. |
334-
+-----------------------------------------------+------------------------------------------+
335-
| :file:`~/.pythonrc.py` | User-specific initialization file loaded |
336-
| | by the user module; not used by default |
337-
| | or by most applications. |
338-
+-----------------------------------------------+------------------------------------------+
339324

325+
.. _using-on-envvars:
340326

341327
Environment variables
342328
---------------------

Doc/using/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ interpreter and things that make working with Python easier.
1313
.. toctree::
1414

1515
cmdline.rst
16+
windows.rst
1617
mac.rst
1718

0 commit comments

Comments
 (0)