diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-09 11:13:24 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-09 11:13:24 (GMT) |
commit | ebc991c0ce4493be276f2ea29676131b8880ec10 (patch) | |
tree | 76797bb878eeb5a709acad081a0e6d0dc047da31 /Doc/install | |
parent | 9c669ccc77c85eac245d460bab510a38b20d9a08 (diff) | |
parent | d2f8cec88558993e10c1dae103a5bae6549e25ef (diff) | |
download | cpython-ebc991c0ce4493be276f2ea29676131b8880ec10.zip cpython-ebc991c0ce4493be276f2ea29676131b8880ec10.tar.gz cpython-ebc991c0ce4493be276f2ea29676131b8880ec10.tar.bz2 |
Branch merge
Diffstat (limited to 'Doc/install')
-rw-r--r-- | Doc/install/index.rst | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Doc/install/index.rst b/Doc/install/index.rst index 31c1d7f..f8d6305 100644 --- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -96,10 +96,16 @@ in the name of the downloaded archive, e.g. :file:`foo-1.0.tar.gz` or directory: :file:`foo-1.0` or :file:`widget-0.9.7`. Additionally, the distribution will contain a setup script :file:`setup.py`, and a file named :file:`README.txt` or possibly just :file:`README`, which should explain that -building and installing the module distribution is a simple matter of running :: +building and installing the module distribution is a simple matter of running +one command from a terminal:: python setup.py install +For Windows, this command should be run from a command prompt windows ("DOS +box"):: + + setup.py install + If all these things are true, then you already know how to build and install the modules you've just downloaded: Run the command above. Unless you need to install things in a non-standard way or customize the build process, you don't @@ -113,14 +119,11 @@ Standard Build and Install ========================== As described in section :ref:`inst-new-standard`, building and installing a module -distribution using the Distutils is usually one simple command:: +distribution using the Distutils is usually one simple command to run from a +terminal:: python setup.py install -On Unix, you'd run this command from a shell prompt; on Windows, you have to -open a command prompt window ("DOS box") and do it there; on Mac OS X, you open -a :command:`Terminal` window to get a shell prompt. - .. _inst-platform-variations: |