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> をビルドすることを指示します。
68 @x --enable-optimizations
69 <para>This switch enables stable, but expensive, optimizations.</para>
72 本スイッチは安定的ではあるものの高くつく最適化を有効にします。
77 <para>Compile the package:</para>
79 <para>&CompileThePackage;</para>
83 <para>Running the tests at this point is not recommended. The
84 tests are known to hang indefinitely in the partial LFS environment.
85 If desired, the tests can be rerun at the end of this chapter or
86 when Python 3 is reinstalled in BLFS. To run the tests anyway,
87 issue <command>make test</command>.</para>
90 この時点においてテスト実行することはお勧めしません。
91 部分的にしか仕上がっていない LFS 環境では安定せずハングすることがあります。
92 テストを必要とする場合は、本章を一番最後まで進めてから再度実行するか、あるいは BLFS において Python 3 をインストール際に行います。
93 そうではなくここでテスト実行をするなら <command>make test</command> を実行します。
98 <para>Install the package:</para>
100 <para>&InstallThePackage;</para>
104 <para>If desired, install the preformatted documentation:</para>
107 必要なら、整形済みドキュメントをインストールします。
112 <title>The meaning of the documentation install commands:</title>
114 <title>&MeaningOfCommand1;ドキュメント install&MeaningOfCommand2;</title>
118 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
120 <term><option>--no-same-owner</option> と <option>--no-same-permissions</option></term>
123 <para>Ensure the installed files have the correct ownership and
124 permissions. Without these options, using <application>tar</application>
125 will install the package files with the upstream creator's values.
129 インストールするファイルの所有者とパーミッションを適切に設定します。
130 このオプションがないと <application>tar</application> によって展開されるファイルは、アップストリームが作り出した値になってしまうためです。
135 <title>Contents of Python 3</title>
137 <title>&ContentsOf1;Python 3&ContentsOf2;</title>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Library</segtitle>
143 <segtitle>Installed Directories</segtitle>
145 <segtitle>&InstalledProgram;</segtitle>
146 <segtitle>&InstalledLibrary;</segtitle>
147 <segtitle>&InstalledDirectory;</segtitle>
152 2to3, idle3, pip3, pydoc3, python3, and python3-config
155 libpython&python-minor;.so and libpython3.so
158 /usr/include/python&python-minor;,
159 /usr/lib/python3, and
160 /usr/share/doc/python-&python-version;
164 2to3, idle3, pip3, pydoc3, python3, python3-config
167 libpython&python-minor;.so, libpython3.so
170 /usr/include/python&python-minor;,
172 /usr/share/doc/python-&python-version;
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
183 is a <application>Python</application> program that reads
184 <application>Python 2.x</application> source code and applies a
185 series of fixes to transform it into
186 valid <application>Python 3.x</application> code
188 <application>Python 2.x</application> のソースコードを読み込み、種々の変更を行って <application>Python 3.x</application> 用の適正なソースコードに変換するための <application>Python</application> プログラムです
192 is a wrapper script that opens a <application>Python</application>
193 aware GUI editor. For this script to run, you must have installed
194 <application>Tk</application> before Python so that the Tkinter
195 Python module is built
197 <application>Python</application> に特化した GUI エディターを起動するラッパースクリプト。
198 このスクリプトを実行するには、Python より前に <application>Tk</application> をインストールして、Python モジュールである Tkinter をビルドしておく必要があります。
202 The package installer for Python. You can use pip to install
203 packages from Python Package Index and other indexes
205 Python のパッケージインストーラー。
206 この pip を使って Python Package Index などのインデックスサイトから各種パッケージをインストールできます。
210 is the <application>Python</application> documentation tool
212 <application>Python</application> ドキュメントツール。
216 is an interpreted, interactive, object-oriented programming
219 インタープリターであり、対話的なオブジェクト指向プログラミング言語。