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