Commits

Ryotaro Ikeda committed d8890fd

Interim commit

1. First `download a pre-built PyPy`_ for your architecture ...
から
The above command lines are split with continuation...
まで翻訳。

  • Participants
  • Parent commits 9e1f6d5

Comments (0)

Files changed (1)

pypy/doc/getting-started-python.rst

 PyPyのPythonインタプリタは、C言語にも、`CLI code`_にも変換が可能です。
 
 
-1. First `download a pre-built PyPy`_ for your architecture which you will
-   use to translate your Python interpreter.  It is, of course, possible to
-   translate with a CPython 2.6 or later, but this is not the preferred way,
-   because it will take a lot longer to run -- depending on your architecture,
-   between two and three times as long.
+''  1. First `download a pre-built PyPy`_ for your architecture which you will
+''     use to translate your Python interpreter.  It is, of course, possible to
+''     translate with a CPython 2.6 or later, but this is not the preferred way,
+''     because it will take a lot longer to run -- depending on your architecture,
+''     between two and three times as long.
+1. 始めに、`download a pre-built PyPy`_から、Pythonインタプリタを変換する為に
+お使いのコンピュータに合ったコンパイル済みのPyPyをダウンロードしてください。
+この変換作業はCPython 2.6以降を使用しても行えますが、
+お使いの環境により2-3倍程度の時間がかかる事があるため、推奨されません。 
 
-2. Install build-time dependencies.  On a Debian box these are::
 
-     [user@debian-box ~]$ sudo apt-get install \
-     gcc make python-dev libffi-dev pkg-config \
-     libz-dev libbz2-dev libncurses-dev libexpat1-dev \
-     libssl-dev libgc-dev python-sphinx python-greenlet
+''  2. Install build-time dependencies.  On a Debian box these are::
+''  
+''       [user@debian-box ~]$ sudo apt-get install \
+''       gcc make python-dev libffi-dev pkg-config \
+''       libz-dev libbz2-dev libncurses-dev libexpat1-dev \
+''       libssl-dev libgc-dev python-sphinx python-greenlet
 
-   On a Fedora box these are::
+2. ビルド時に必要となる依存ファイル群をインストールしてください。Debianの場合は次のようにします。
+    [user@debian-box ~]$ sudo apt-get install \
+    gcc make python-dev libffi-dev pkg-config \
+    libz-dev libbz2-dev libncurses-dev libexpat1-dev \
+    libssl-dev libgc-dev python-sphinx python-greenlet
 
-     [user@fedora-or-rh-box ~]$ sudo yum install \
-     gcc make python-devel libffi-devel pkg-config \
-     zlib-devel bzip2-devel ncurses-devel expat-devel \
-     openssl-devel gc-devel python-sphinx python-greenlet
 
-   The above command lines are split with continuation characters, giving the necessary dependencies first, then the optional ones.
+''     On a Fedora box these are::
+''  
+''       [user@fedora-or-rh-box ~]$ sudo yum install \
+''       gcc make python-devel libffi-devel pkg-config \
+''       zlib-devel bzip2-devel ncurses-devel expat-devel \
+''       openssl-devel gc-devel python-sphinx python-greenlet
 
-   * ``pkg-config`` (to help us locate libffi files)
-   * ``libz-dev`` (for the optional ``zlib`` module)
-   * ``libbz2-dev`` (for the optional ``bz2`` module)
-   * ``libncurses-dev`` (for the optional ``_minimal_curses`` module)
-   * ``libexpat1-dev`` (for the optional ``pyexpat`` module)
-   * ``libssl-dev`` (for the optional ``_ssl`` module)
-   * ``libgc-dev`` (for the Boehm garbage collector: only needed when translating with `--opt=0, 1` or `size`)
-   * ``python-sphinx`` (for the optional documentation build.  You need version 1.0.7 or later)
-   * ``python-greenlet`` (for the optional stackless support in interpreted mode/testing)
+   Fedoraの場合は次のようにします。
+      [user@fedora-or-rh-box ~]$ sudo yum install \
+      gcc make python-devel libffi-devel pkg-config \
+      zlib-devel bzip2-devel ncurses-devel expat-devel \
+      openssl-devel gc-devel python-sphinx python-greenlet
 
+''     The above command lines are split with continuation characters, giving the necessary dependencies first, then the optional ones.
+''  
+''     * ``pkg-config`` (to help us locate libffi files)
+''     * ``libz-dev`` (for the optional ``zlib`` module)
+''     * ``libbz2-dev`` (for the optional ``bz2`` module)
+''     * ``libncurses-dev`` (for the optional ``_minimal_curses`` module)
+''     * ``libexpat1-dev`` (for the optional ``pyexpat`` module)
+''     * ``libssl-dev`` (for the optional ``_ssl`` module)
+''     * ``libgc-dev`` (for the Boehm garbage collector: only needed when translating with `--opt=0, 1` or `size`)
+''     * ``python-sphinx`` (for the optional documentation build.  You need version 1.0.7 or later)
+''     * ``python-greenlet`` (for the optional stackless support in interpreted mode/testing)
+
+  上記のコマンドでは、改行の直前に\記号を挿入しています。(改行をせず一行で書く場合には\記号は必要ありません)。
+  下記のファイル群は必須ではありませんが、インストールしておくことを推奨します。
+      * ``pkg-config`` (libffiのファイル郡を管理するツール)
+      * ``libz-dev`` (オプションの``zlib``用モジュール) 
+      * ``libbz2-dev`` (オプションの``bz2``用モジュール) 
+      * ``libncurses-dev`` (オプションの``_minimal_curses``用モジュール) 
+      * ``libexpat1-dev`` (オプションの``pyexpat``用モジュール)
+      * ``libssl-dev`` (オプションの``_ssl``用モジュール)
+      * ``libgc-dev`` (`--opt=0,1`もしくは`size`オプションを指定して変換を行う際に必要となるBoehm GC用モジュール)
+      * ``python-sphinx`` (ドキュメント作成用モジュール。動作には1.0.7以上のバージョンが必要です)
+      * ``python-greenlet`` (Stacklessを利用する場合に必要。interpreted mode/testingのみサポートしています)
 
 3. Translation is time-consuming -- 45 minutes on a very fast machine --
    and RAM-hungry.  As of March 2011, you will need **at least** 2 GB of