2 % This is part of LFSbookja package.
4 % This is a CTIE change file for the original XML source of the LFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <para>The Python 3 package contains the Python development environment. It
14 is useful for object-oriented programming, writing scripts, prototyping
15 large programs, or developing entire applications.</para>
18 Python 3 パッケージは Python 開発環境を提供します。
19 オブジェクト指向プログラミング、スクリプティング、大規模プログラムのプロトタイピング、アプリケーション開発などに有用なものです。
24 <title>Installation of Python 3</title>
26 <title>&InstallationOf1;Python 3&InstallationOf2;</title>
30 <para>Prepare Python for compilation:</para>
32 <para>&PreparePackage1;Python&PreparePackage2;</para>
36 <title>The meaning of the configure options:</title>
38 <title>&MeaningOfOption1;configure&MeaningOfOption2;</title>
41 @x --with-system-expat
42 <para>This switch enables linking against system version of
43 <application>Expat</application>.</para>
46 本スイッチは、システムにインストールされている <application>Expat</application> をリンクすることを指示します。
51 <para>This switch enables linking against system version of
52 <application>libffi</application>.</para>
55 本スイッチは、システムにインストールされている <application>libffi</application> をリンクすることを指示します。
59 @x --with-ensurepip=yes
60 <para>This switch enables building <command>pip</command> and
61 <command>setuptools</command> packaging programs.</para>
64 本スイッチは <command>pip</command> コマンドと、パッケージングプログラム <command>setuptools</command> をビルドすることを指示します。
69 <para>Compile the package:</para>
71 <para>&CompileThePackage;</para>
75 <para>To test the results, issue:</para>
78 ビルド結果をテストする場合は以下を実行します。
83 <para>Some tests requiring a network connection or additional packages are
84 skipped. The test named test_normalization is known to fail. For
85 more comprehensive results, the tests can be rerun when Python 3 is
86 reinstalled in BLFS.</para>
89 ネットワーク接続や他の依存パッケージを必要とするテストは、省略される場合があります。
90 test_normalization というテストは失敗します。
91 すべての結果を得るには BLFS において Python 3 を再インストールした後に、もう一度テストを実行してください。
96 <para>Install the package:</para>
98 <para>&InstallThePackage;</para>
102 <para>If desired, install the preformatted documentation:</para>
105 必要なら、整形済みドキュメントをインストールします。
110 <title>The meaning of the documentation install commands:</title>
112 <title>&MeaningOfCommand1;ドキュメント install&MeaningOfCommand2;</title>
116 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
118 <term><option>--no-same-owner</option> と <option>--no-same-permissions</option></term>
121 <para>Ensure the installed files have the correct ownership and
122 permissions. Without these options, using <application>tar</application>
123 will install the package files with the upstream creator's values.
127 インストールするファイルの所有者とパーミッションを適切に設定します。
128 このオプションがないと <application>tar</application> によって展開されるファイルは、アップストリームが作り出した値になってしまうためです。
133 <title>Contents of Python 3</title>
135 <title>&ContentsOf1;Python 3&ContentsOf2;</title>
139 <segtitle>Installed Programs</segtitle>
140 <segtitle>Installed Library</segtitle>
141 <segtitle>Installed Directories</segtitle>
143 <segtitle>&InstalledProgram;</segtitle>
144 <segtitle>&InstalledLibrary;</segtitle>
145 <segtitle>&InstalledDirectory;</segtitle>
150 2to3, idle3, pip3, pydoc3, python3, and python3-config
153 libpython&python-minor;.so and libpython3.so
156 /usr/include/python&python-minor;,
157 /usr/lib/python3, and
158 /usr/share/doc/python-&python-version;
162 2to3, idle3, pip3, pydoc3, python3, python3-config
165 libpython&python-minor;.so, libpython3.so
168 /usr/include/python&python-minor;,
170 /usr/share/doc/python-&python-version;
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
181 is a <application>Python</application> program that reads
182 <application>Python 2.x</application> source code and applies a
183 series of fixes to transform it into
184 valid <application>Python 3.x</application> code
186 <application>Python 2.x</application> のソースコードを読み込み、種々の変更を行って <application>Python 3.x</application> 用の適正なソースコードに変換するための <application>Python</application> プログラムです
190 is a wrapper script that opens a <application>Python</application>
191 aware GUI editor. For this script to run, you must have installed
192 <application>Tk</application> before Python so that the Tkinter
193 Python module is built
195 <application>Python</application> に特化した GUI エディターを起動するラッパースクリプト。
196 このスクリプトを実行するには、Python より前に <application>Tk</application> をインストールして、Python モジュールである Tkinter をビルドしておく必要があります。
200 The package installer for Python. You can use pip to install
201 packages from Python Package Index and other indexes
203 Python のパッケージインストーラー。
204 この pip を使って Python Package Index などのインデックスサイトから各種パッケージをインストールできます。
208 is the <application>Python</application> documentation tool
210 <application>Python</application> ドキュメントツール。
214 is an interpreted, interactive, object-oriented programming
217 インタープリターであり、対話的なオブジェクト指向プログラミング言語。